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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 107.9 kB / 18.48 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 198.5 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 55.91 kB / 366.4 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09551/0.09707, allocations: 52.14 MB / 418.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01872/0.1158, allocations: 16.56 MB / 435.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008775/0.1246, allocations: 4.103 MB / 439.2 MB, free: 7.914 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/0.1274, allocations: 159.2 kB / 439.3 MB, free: 7.758 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01692/0.1443, allocations: 7.501 MB / 446.8 MB, free: 248 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2028/0.3471, allocations: 1.48 MB / 448.3 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.3502, allocations: 1.088 MB / 449.4 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009493/0.3597, allocations: 8.255 MB / 457.6 MB, free: 6.895 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03059/0.3903, allocations: 17.32 MB / 475 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01105/0.4014, allocations: 4.902 MB / 479.9 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01027/0.4116, allocations: 5.347 MB / 485.2 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004015/0.4156, allocations: 1.384 MB / 486.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006852/0.4225, allocations: 1.644 MB / 488.2 MB, free: 8.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005168/0.4277, allocations: 2.591 MB / 490.8 MB, free: 6.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01121/0.4389, allocations: 5.213 MB / 496 MB, free: 1.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02374/0.4626, allocations: 18.55 MB / 0.5025 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4626, allocations: 7.75 kB / 0.5025 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4626, allocations: 0 / 0.5025 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005323/0.4631, allocations: 4 kB / 0.5025 GB, free: 0.7227 MB / 398.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.03204/0.4952, allocations: 10.62 MB / 0.5129 GB, free: 6.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.4952, allocations: 8.031 kB / 0.5129 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002773/0.4955, allocations: 247.9 kB / 0.5132 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004459/0.5, allocations: 1.3 MB / 0.5144 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0196/0.5196, allocations: 3.768 MB / 0.5181 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/0.5323, allocations: 5.375 MB / 0.5234 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/0.5333, allocations: 0.6854 MB / 0.524 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003706/0.537, allocations: 0.8941 MB / 0.5249 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03933/0.5764, allocations: 12.71 MB / 0.5373 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004817/0.5768, allocations: 11.94 kB / 0.5373 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00358/0.5804, allocations: 380.4 kB / 0.5377 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006023/0.581, allocations: 395.1 kB / 0.5381 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03469/0.6157, allocations: 11.42 MB / 0.5492 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08093/0.6966, allocations: 43.23 MB / 0.5914 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/0.7096, allocations: 10.28 MB / 0.6015 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002547/0.7122, allocations: 1.527 MB / 0.603 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/0.7124, allocations: 145.5 kB / 0.6031 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.7e-05/0.7125, allocations: 60.5 kB / 0.6031 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=223): time 4.188e-06/0.7125, allocations: 4 kB / 0.6032 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=223): time 0.009403/0.7219, allocations: 4.653 MB / 0.6077 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.722, allocations: 77.41 kB / 0.6078 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004838/0.7268, allocations: 2.934 MB / 0.6106 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.727, allocations: 61.7 kB / 0.6107 GB, free: 488 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003016/0.73, allocations: 3.975 MB / 0.6146 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008658/0.7308, allocations: 0.8329 MB / 0.6154 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001552/0.7324, allocations: 0.9527 MB / 0.6163 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.7325, allocations: 301.1 kB / 0.6166 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003079/0.7356, allocations: 1.969 MB / 0.6185 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005011/0.7406, allocations: 4.161 MB / 0.6226 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008632/0.7492, allocations: 6.509 MB / 0.629 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-05/0.7493, allocations: 20 kB / 0.629 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01188/0.7612, allocations: 6.512 MB / 0.6353 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.156e-05/0.7613, allocations: 40 kB / 0.6354 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/0.7614, allocations: 72 kB / 0.6354 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.7625, allocations: 412.7 kB / 0.6358 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/0.7661, allocations: 1.064 MB / 0.6369 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3664/1.132, allocations: 4.372 MB / 0.6411 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/1.136, allocations: 0.6362 MB / 0.6418 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000471/1.136, allocations: 250.5 kB / 0.642 GB, free: 165 MB / 0.5294 GB 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.005094/1.141, allocations: 3.364 MB / 0.6453 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007259/1.142, allocations: 287.3 kB / 0.6456 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006299/1.148, allocations: 3.572 MB / 0.649 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004035/1.152, allocations: 2.803 MB / 0.6518 GB, free: 163.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/1.152, allocations: 4.031 kB / 0.6518 GB, free: 163.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.921e-05/1.152, allocations: 12.34 kB / 0.6518 GB, free: 163.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0213/1.174, allocations: 9.855 MB / 0.6614 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/1.174, allocations: 4.688 kB / 0.6614 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/1.175, allocations: 416.6 kB / 0.6618 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007205/1.176, allocations: 309 kB / 0.6621 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/1.176, allocations: 46.53 kB / 0.6622 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004117/1.18, allocations: 4.208 MB / 0.6663 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.18, allocations: 1.719 kB / 0.6663 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005999/1.186, allocations: 5.128 MB / 0.6713 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.187, allocations: 0.6221 MB / 0.6719 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/1.188, allocations: 40.31 kB / 0.6719 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.189, allocations: 136.9 kB / 0.6721 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/1.189, allocations: 145.5 kB / 0.6722 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.189, allocations: 67.41 kB / 0.6723 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002622/1.192, allocations: 1.965 MB / 0.6742 GB, free: 154 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.192, allocations: 0 / 0.6742 GB, free: 154 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005126/1.197, allocations: 1.992 MB / 0.6761 GB, free: 153.5 MB / 0.5294 GB 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.006474/1.203, allocations: 5.784 MB / 0.6818 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005778/1.209, allocations: 4.43 MB / 0.6861 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.209, allocations: 64 / 0.6861 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002034/1.211, allocations: 1.618 MB / 0.6877 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003153/1.214, allocations: 0.6852 MB / 0.6883 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06806/1.282, allocations: 40.17 MB / 0.7276 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008181/1.29, allocations: 5.641 MB / 0.7331 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003777/1.294, allocations: 1.697 MB / 0.7347 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003663/1.298, allocations: 2.733 MB / 0.7374 GB, free: 99.97 MB / 0.5294 GB Notification: Performance of SimCode: time 1.923e-06/1.298, allocations: 0 / 0.7374 GB, free: 99.97 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1491/1.447, allocations: 90.69 MB / 0.826 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.47/16.91, allocations: 7.453 kB / 0.826 GB, free: 9.625 MB / 0.5294 GB " [Timeout remaining time 643] (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 --stepSize=0.0001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.11158022400923]