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.001432/0.001432, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001732/0.001732, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 55.91 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3179, allocations: 50.55 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01599/0.3339, allocations: 16.5 MB / 425.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008238/0.3422, allocations: 4.142 MB / 429.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.3443, allocations: 139.6 kB / 429.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01482/0.3592, allocations: 7.435 MB / 437 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005696/0.3649, allocations: 1.319 MB / 438.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003145/0.368, allocations: 1.243 MB / 439.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009161/0.3772, allocations: 8.25 MB / 447.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02816/0.4054, allocations: 22.52 MB / 470.3 MB, free: 3.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006142/0.4116, allocations: 4.812 MB / 475.1 MB, free: 14.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007515/0.4191, allocations: 5.334 MB / 480.5 MB, free: 9.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002369/0.4215, allocations: 1.383 MB / 481.8 MB, free: 8.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003467/0.425, allocations: 1.656 MB / 483.5 MB, free: 6.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002085/0.4271, allocations: 2.58 MB / 486.1 MB, free: 3.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00624/0.4333, allocations: 5.226 MB / 491.3 MB, free: 14.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.4494, allocations: 18.31 MB / 0.4977 GB, free: 12.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.4495, allocations: 0 / 0.4977 GB, free: 12.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4495, allocations: 4 kB / 0.4977 GB, free: 12.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004433/0.4499, allocations: 0 / 0.4977 GB, free: 12.24 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.02993/0.4799, allocations: 10.44 MB / 0.5079 GB, free: 1.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.4799, allocations: 8.031 kB / 0.5079 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003074/0.483, allocations: 1.294 MB / 0.5091 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01822/0.5012, allocations: 3.744 MB / 0.5128 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.5125, allocations: 5.362 MB / 0.518 GB, free: 7.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005131/0.513, allocations: 0.6785 MB / 0.5187 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00253/0.5156, allocations: 0.8905 MB / 0.5196 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02904/0.5446, allocations: 12.71 MB / 0.532 GB, free: 8.895 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001942/0.5448, allocations: 4 kB / 0.532 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009589/0.5458, allocations: 380 kB / 0.5324 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003326/0.5461, allocations: 399.1 kB / 0.5327 GB, free: 8.129 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4009/0.9471, allocations: 11.41 MB / 0.5439 GB, free: 111.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04487/0.992, allocations: 43.59 MB / 0.5864 GB, free: 78.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007411/0.9994, allocations: 10.5 MB / 0.5967 GB, free: 67.22 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/1.001, allocations: 1.675 MB / 0.5983 GB, free: 65.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/1.001, allocations: 220 kB / 0.5985 GB, free: 65.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/1.001, allocations: 56.56 kB / 0.5986 GB, free: 65.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 4.398e-06/1.001, allocations: 0 / 0.5986 GB, free: 65.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.006671/1.008, allocations: 4.655 MB / 0.6031 GB, free: 60.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/1.008, allocations: 73.41 kB / 0.6032 GB, free: 60.47 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/1.012, allocations: 2.93 MB / 0.6061 GB, free: 57.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/1.012, allocations: 65.64 kB / 0.6061 GB, free: 57.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/1.013, allocations: 3.829 MB / 0.6099 GB, free: 53.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004618/1.013, allocations: 0.7918 MB / 0.6106 GB, free: 52.81 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009799/1.014, allocations: 0.952 MB / 0.6116 GB, free: 51.85 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.203e-05/1.015, allocations: 305.1 kB / 0.6119 GB, free: 51.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002092/1.017, allocations: 1.973 MB / 0.6138 GB, free: 49.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/1.019, allocations: 4.16 MB / 0.6179 GB, free: 44.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005265/1.025, allocations: 6.505 MB / 0.6242 GB, free: 36.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.35e-05/1.025, allocations: 24 kB / 0.6242 GB, free: 36.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007897/1.033, allocations: 6.499 MB / 0.6306 GB, free: 30.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/1.033, allocations: 36 kB / 0.6306 GB, free: 30.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.491e-05/1.033, allocations: 76 kB / 0.6307 GB, free: 30.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007535/1.034, allocations: 412.7 kB / 0.6311 GB, free: 29.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/1.036, allocations: 1.065 MB / 0.6321 GB, free: 28.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/1.04, allocations: 4.381 MB / 0.6364 GB, free: 24.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/1.043, allocations: 0.623 MB / 0.637 GB, free: 23.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003203/1.043, allocations: 252 kB / 0.6372 GB, free: 23.29 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.003846/1.047, allocations: 3.369 MB / 0.6405 GB, free: 19.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005023/1.048, allocations: 272.6 kB / 0.6408 GB, free: 19.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/1.052, allocations: 3.581 MB / 0.6443 GB, free: 16.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003132/1.055, allocations: 2.807 MB / 0.647 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.055, allocations: 4 kB / 0.647 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/1.055, allocations: 7.969 kB / 0.647 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/1.069, allocations: 9.861 MB / 0.6567 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/1.069, allocations: 0 / 0.6567 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/1.07, allocations: 415.4 kB / 0.6571 GB, free: 2.875 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005868/1.071, allocations: 320.8 kB / 0.6574 GB, free: 2.559 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/1.071, allocations: 44 kB / 0.6574 GB, free: 2.516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004129/1.075, allocations: 4.196 MB / 0.6615 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.075, allocations: 0 / 0.6615 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007054/1.082, allocations: 5.121 MB / 0.6665 GB, free: 9.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/1.084, allocations: 0.6025 MB / 0.6671 GB, free: 8.395 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/1.084, allocations: 47.94 kB / 0.6671 GB, free: 8.348 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.085, allocations: 131.8 kB / 0.6673 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/1.086, allocations: 149.8 kB / 0.6674 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/1.086, allocations: 63.98 kB / 0.6675 GB, free: 8.012 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003027/1.089, allocations: 1.963 MB / 0.6694 GB, free: 6.039 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.089, allocations: 0 / 0.6694 GB, free: 6.039 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005176/1.094, allocations: 1.958 MB / 0.6713 GB, free: 4.074 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.007619/1.102, allocations: 5.769 MB / 0.6769 GB, free: 14.26 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006883/1.109, allocations: 4.631 MB / 0.6815 GB, free: 9.625 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.109, allocations: 0 / 0.6815 GB, free: 9.625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002281/1.111, allocations: 1.739 MB / 0.6832 GB, free: 7.875 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/1.114, allocations: 0.6731 MB / 0.6838 GB, free: 7.219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05978/1.174, allocations: 39.93 MB / 0.7228 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00586/1.18, allocations: 5.645 MB / 0.7283 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003741/1.183, allocations: 1.698 MB / 0.73 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003113/1.187, allocations: 2.729 MB / 0.7327 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/1.187, allocations: 4 kB / 0.7327 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3361/1.523, allocations: 89.44 MB / 0.82 GB, free: 142.6 MB / 0.5451 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.57/18.09, allocations: 7.922 kB / 0.82 GB, free: 142.6 MB / 0.5451 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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