Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 91.88 kB / 16.65 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 182 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000282/0.0002822, allocations: 4.875 kB / 301.5 MB, free: 6.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1073, allocations: 50.43 MB / 352 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01473/0.1221, allocations: 15.32 MB / 367.3 MB, free: 4.184 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.1324, allocations: 4.002 MB / 371.3 MB, free: 172 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003774/0.1362, allocations: 127.6 kB / 371.4 MB, free: 44 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2322/0.3684, allocations: 1.01 MB / 372.4 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007423/0.3758, allocations: 1.295 MB / 373.7 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.3794, allocations: 1.008 MB / 374.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01173/0.3912, allocations: 7.863 MB / 382.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04223/0.4334, allocations: 22.11 MB / 404.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007624/0.4411, allocations: 3.291 MB / 408 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008171/0.4493, allocations: 3.871 MB / 411.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003013/0.4524, allocations: 0.543 MB / 412.4 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005445/0.4578, allocations: 0.7993 MB / 413.2 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003294/0.4612, allocations: 1.522 MB / 414.7 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008933/0.4701, allocations: 4.05 MB / 418.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02026/0.4904, allocations: 17.17 MB / 435.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4905, allocations: 0 / 435.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4905, allocations: 0 / 435.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006467/0.4911, allocations: 0 / 435.9 MB, free: 12.96 MB / 350.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.02532/0.5165, allocations: 8.516 MB / 444.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.5165, allocations: 12.03 kB / 444.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004767/0.5213, allocations: 1.297 MB / 445.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02014/0.5415, allocations: 3.743 MB / 449.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/0.5536, allocations: 5.178 MB / 454.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000833/0.5545, allocations: 0.6801 MB / 455.4 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003888/0.5584, allocations: 0.8904 MB / 456.2 MB, free: 8.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0348/0.5932, allocations: 12.74 MB / 469 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003817/0.5937, allocations: 7.906 kB / 469 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002658/0.5963, allocations: 378.6 kB / 469.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004274/0.5968, allocations: 395.1 kB / 469.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02662/0.6234, allocations: 11.43 MB / 481.2 MB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0802/0.7036, allocations: 43.82 MB / 0.5127 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01328/0.717, allocations: 10.54 MB / 0.523 GB, free: 7.062 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003343/0.7203, allocations: 1.718 MB / 0.5247 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004045/0.7208, allocations: 140.3 kB / 0.5248 GB, free: 5.199 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.036e-05/0.7209, allocations: 68.5 kB / 0.5249 GB, free: 5.125 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 7.444e-06/0.7209, allocations: 3.984 kB / 0.5249 GB, free: 5.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.0106/0.7315, allocations: 4.796 MB / 0.5295 GB, free: 304 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.7316, allocations: 77.41 kB / 0.5296 GB, free: 212 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3833/1.115, allocations: 2.914 MB / 0.5325 GB, free: 134.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004922/1.115, allocations: 62.86 kB / 0.5325 GB, free: 134.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002636/1.118, allocations: 3.83 MB / 0.5363 GB, free: 132.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00104/1.119, allocations: 0.8087 MB / 0.5371 GB, free: 132.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005218/1.12, allocations: 375 kB / 0.5374 GB, free: 132.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.163e-05/1.12, allocations: 306.7 kB / 0.5377 GB, free: 131.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003386/1.123, allocations: 2.008 MB / 0.5397 GB, free: 131.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004351/1.128, allocations: 4.203 MB / 0.5438 GB, free: 127.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007527/1.135, allocations: 6.586 MB / 0.5502 GB, free: 122.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/1.135, allocations: 21.31 kB / 0.5502 GB, free: 122.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.01123/1.146, allocations: 6.581 MB / 0.5567 GB, free: 120.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.213e-05/1.147, allocations: 39.59 kB / 0.5567 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/1.147, allocations: 70.97 kB / 0.5568 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008863/1.148, allocations: 411.7 kB / 0.5572 GB, free: 120 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/1.151, allocations: 1.063 MB / 0.5582 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/1.155, allocations: 4.076 MB / 0.5622 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003758/1.159, allocations: 0.6236 MB / 0.5628 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000767/1.16, allocations: 245.3 kB / 0.563 GB, free: 116.9 MB / 446.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 (569): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.006747/1.167, allocations: 3.374 MB / 0.5663 GB, free: 115.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.168, allocations: 271.4 kB / 0.5666 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006238/1.174, allocations: 3.661 MB / 0.5701 GB, free: 113.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003725/1.178, allocations: 2.885 MB / 0.573 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/1.178, allocations: 7.031 kB / 0.573 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/1.178, allocations: 15.38 kB / 0.573 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/1.195, allocations: 10.06 MB / 0.5828 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.195, allocations: 4 kB / 0.5828 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/1.197, allocations: 415.4 kB / 0.5832 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006281/1.197, allocations: 312.7 kB / 0.5835 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/1.198, allocations: 51.98 kB / 0.5836 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003688/1.201, allocations: 3.899 MB / 0.5874 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.201, allocations: 11.88 kB / 0.5874 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005877/1.207, allocations: 5.244 MB / 0.5925 GB, free: 95.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/1.208, allocations: 0.622 MB / 0.5931 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/1.209, allocations: 40 kB / 0.5931 GB, free: 94.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.21, allocations: 139.8 kB / 0.5933 GB, free: 94.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/1.21, allocations: 149.7 kB / 0.5934 GB, free: 94.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.21, allocations: 63.98 kB / 0.5935 GB, free: 94.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00251/1.213, allocations: 1.965 MB / 0.5954 GB, free: 92.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.213, allocations: 4 kB / 0.5954 GB, free: 92.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00474/1.217, allocations: 1.962 MB / 0.5973 GB, free: 90.6 MB / 446.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 (218): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.006095/1.224, allocations: 5.924 MB / 0.6031 GB, free: 84.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006249/1.23, allocations: 4.699 MB / 0.6077 GB, free: 79.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.23, allocations: 0 / 0.6077 GB, free: 79.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002051/1.232, allocations: 1.783 MB / 0.6094 GB, free: 78.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00411/1.236, allocations: 0.6414 MB / 0.6101 GB, free: 77.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07051/1.307, allocations: 47.09 MB / 0.656 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008128/1.315, allocations: 5.645 MB / 0.6616 GB, free: 20.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004809/1.32, allocations: 1.698 MB / 0.6632 GB, free: 18.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004397/1.324, allocations: 2.73 MB / 0.6659 GB, free: 16.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.694e-06/1.324, allocations: 3.938 kB / 0.6659 GB, free: 16.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.024/3.349, allocations: 88.47 MB / 0.7523 GB, free: 107.7 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003979/3.349, allocations: 237.6 kB / 0.7525 GB, free: 107.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.247/7.596, allocations: 0 / 0.7525 GB, free: 107.4 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches