Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 63.88 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2775, allocations: 50.54 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.0193/0.2968, allocations: 16.52 MB / 425.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008639/0.3055, allocations: 4.134 MB / 429.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.3078, allocations: 139.6 kB / 429.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01653/0.3244, allocations: 7.435 MB / 437 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005709/0.3301, allocations: 1.319 MB / 438.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004254/0.3344, allocations: 1.239 MB / 439.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01085/0.3452, allocations: 8.253 MB / 447.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0318/0.377, allocations: 22.51 MB / 470.3 MB, free: 3.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007109/0.3842, allocations: 4.82 MB / 475.1 MB, free: 14.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008871/0.3931, allocations: 5.318 MB / 480.5 MB, free: 9.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003168/0.3963, allocations: 1.383 MB / 481.8 MB, free: 8.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004633/0.401, allocations: 1.66 MB / 483.5 MB, free: 6.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003602/0.4046, allocations: 2.584 MB / 486.1 MB, free: 3.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01078/0.4154, allocations: 5.218 MB / 491.3 MB, free: 14.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02314/0.4386, allocations: 18.35 MB / 0.4977 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.4386, allocations: 0 / 0.4977 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4386, allocations: 0 / 0.4977 GB, free: 12.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004129/0.439, allocations: 4 kB / 0.4977 GB, free: 12.18 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.0294/0.4685, allocations: 10.63 MB / 0.5081 GB, free: 1.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4685, allocations: 8.031 kB / 0.5081 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003619/0.4721, allocations: 1.294 MB / 0.5094 GB, free: 148 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01962/0.4918, allocations: 3.786 MB / 0.5131 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/0.5028, allocations: 5.37 MB / 0.5183 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006274/0.5035, allocations: 0.6863 MB / 0.519 GB, free: 6.227 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002459/0.506, allocations: 0.8867 MB / 0.5198 GB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02869/0.5347, allocations: 12.72 MB / 0.5323 GB, free: 8.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002165/0.5349, allocations: 11.94 kB / 0.5323 GB, free: 8.578 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001603/0.5365, allocations: 379.9 kB / 0.5326 GB, free: 8.207 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004005/0.5369, allocations: 395.1 kB / 0.533 GB, free: 7.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4325/0.9694, allocations: 11.41 MB / 0.5442 GB, free: 111.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05119/1.021, allocations: 43.71 MB / 0.5868 GB, free: 78.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007422/1.028, allocations: 10.49 MB / 0.5971 GB, free: 66.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/1.03, allocations: 1.679 MB / 0.5987 GB, free: 65.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/1.03, allocations: 219.4 kB / 0.5989 GB, free: 65.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/1.03, allocations: 56.55 kB / 0.599 GB, free: 64.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 4.89e-06/1.03, allocations: 0 / 0.599 GB, free: 64.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.006744/1.037, allocations: 4.678 MB / 0.6036 GB, free: 60.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/1.037, allocations: 73.41 kB / 0.6036 GB, free: 60.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003176/1.04, allocations: 2.934 MB / 0.6065 GB, free: 57.28 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001535/1.04, allocations: 61.7 kB / 0.6066 GB, free: 57.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/1.042, allocations: 3.977 MB / 0.6104 GB, free: 53.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000472/1.042, allocations: 0.8236 MB / 0.6112 GB, free: 52.83 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/1.043, allocations: 0.9566 MB / 0.6122 GB, free: 51.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/1.043, allocations: 305.1 kB / 0.6125 GB, free: 51.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/1.045, allocations: 1.973 MB / 0.6144 GB, free: 49.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/1.048, allocations: 4.153 MB / 0.6184 GB, free: 44.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005102/1.053, allocations: 6.509 MB / 0.6248 GB, free: 36.81 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.234e-05/1.053, allocations: 28 kB / 0.6248 GB, free: 36.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007727/1.061, allocations: 6.52 MB / 0.6312 GB, free: 30.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/1.061, allocations: 36 kB / 0.6312 GB, free: 30.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-05/1.061, allocations: 72 kB / 0.6313 GB, free: 30.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007426/1.062, allocations: 412.7 kB / 0.6317 GB, free: 29.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/1.065, allocations: 1.068 MB / 0.6327 GB, free: 28.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003878/1.069, allocations: 4.382 MB / 0.637 GB, free: 24.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/1.072, allocations: 0.6364 MB / 0.6376 GB, free: 23.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003467/1.072, allocations: 244 kB / 0.6379 GB, free: 23.28 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003937/1.076, allocations: 3.376 MB / 0.6412 GB, free: 19.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005103/1.077, allocations: 290.1 kB / 0.6414 GB, free: 19.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004434/1.081, allocations: 3.569 MB / 0.6449 GB, free: 16.01 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003091/1.084, allocations: 2.807 MB / 0.6477 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.084, allocations: 7.938 kB / 0.6477 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/1.084, allocations: 11.95 kB / 0.6477 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/1.097, allocations: 9.868 MB / 0.6573 GB, free: 3.262 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.097, allocations: 4.156 kB / 0.6573 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/1.099, allocations: 415.3 kB / 0.6577 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006395/1.1, allocations: 316.7 kB / 0.658 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/1.1, allocations: 51.98 kB / 0.6581 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004286/1.104, allocations: 4.196 MB / 0.6622 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.104, allocations: 0 / 0.6622 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00773/1.112, allocations: 5.131 MB / 0.6672 GB, free: 8.984 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.113, allocations: 0.6196 MB / 0.6678 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/1.113, allocations: 43.94 kB / 0.6678 GB, free: 8.301 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/1.114, allocations: 135.8 kB / 0.668 GB, free: 8.168 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003103/1.115, allocations: 149.8 kB / 0.6681 GB, free: 8.023 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/1.115, allocations: 63.98 kB / 0.6682 GB, free: 7.961 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003004/1.118, allocations: 1.963 MB / 0.6701 GB, free: 5.988 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.118, allocations: 0 / 0.6701 GB, free: 5.988 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00496/1.123, allocations: 1.984 MB / 0.672 GB, free: 3.996 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008339/1.131, allocations: 5.792 MB / 0.6777 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00748/1.139, allocations: 4.62 MB / 0.6822 GB, free: 9.527 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.139, allocations: 2 kB / 0.6822 GB, free: 9.527 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00287/1.142, allocations: 1.738 MB / 0.6839 GB, free: 7.777 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/1.145, allocations: 0.6769 MB / 0.6846 GB, free: 7.113 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06629/1.211, allocations: 40.17 MB / 0.7238 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007835/1.219, allocations: 5.649 MB / 0.7293 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004241/1.223, allocations: 1.69 MB / 0.7309 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004513/1.228, allocations: 2.729 MB / 0.7336 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of SimCode: time 7.52e-07/1.228, allocations: 0 / 0.7336 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3504/1.578, allocations: 89.74 MB / 0.8213 GB, free: 141.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/17.19, allocations: 15.92 kB / 0.8213 GB, free: 141.3 MB / 0.545 GB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches