Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 110.7 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 203.8 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 207.6 MB / 232.5 MB, free: 11.5 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 51.92 kB / 343 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3055, allocations: 49.13 MB / 392.1 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01681/0.3224, allocations: 16.92 MB / 409.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.3345, allocations: 4.256 MB / 413.3 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005274/0.3398, allocations: 134.5 kB / 413.4 MB, free: 9.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01869/0.3585, allocations: 7.534 MB / 421 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007454/0.3659, allocations: 1.374 MB / 422.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004808/0.3708, allocations: 1.354 MB / 423.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01349/0.3842, allocations: 8.578 MB / 432.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03642/0.4207, allocations: 17.37 MB / 449.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01077/0.4314, allocations: 5.054 MB / 454.7 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01137/0.4428, allocations: 5.56 MB / 460.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004577/0.4474, allocations: 1.406 MB / 461.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006447/0.4538, allocations: 1.664 MB / 463.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005222/0.459, allocations: 2.712 MB / 466 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0117/0.4707, allocations: 5.381 MB / 471.4 MB, free: 4.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02918/0.4999, allocations: 18.59 MB / 490 MB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.4999, allocations: 0 / 490 MB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4999, allocations: 0 / 490 MB, free: 2.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006072/0.5005, allocations: 0 / 490 MB, free: 2.039 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: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03943/0.54, allocations: 10.98 MB / 0.4892 GB, free: 6.961 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.54, allocations: 8.031 kB / 0.4893 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003897/0.5404, allocations: 255.6 kB / 0.4895 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007133/0.5476, allocations: 1.348 MB / 0.4908 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03156/0.5791, allocations: 5.746 MB / 0.4964 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/0.5923, allocations: 4.861 MB / 0.5012 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001013/0.5933, allocations: 0.7026 MB / 0.5019 GB, free: 9.957 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005747/0.599, allocations: 0.914 MB / 0.5027 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03891/0.6379, allocations: 13.61 MB / 0.516 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002505/0.6382, allocations: 15.88 kB / 0.5161 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002394/0.6406, allocations: 384 kB / 0.5164 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00051/0.6411, allocations: 460 kB / 0.5169 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03076/0.6718, allocations: 12.82 MB / 0.5294 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4758/1.148, allocations: 46.47 MB / 0.5748 GB, free: 113 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01365/1.161, allocations: 16.86 MB / 0.5912 GB, free: 98.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002815/1.164, allocations: 1.71 MB / 0.5929 GB, free: 98.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/1.175, allocations: 5.976 MB / 0.5987 GB, free: 97.36 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/1.175, allocations: 52.47 kB / 0.5988 GB, free: 97.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 4.248e-06/1.175, allocations: 0 / 0.5988 GB, free: 97.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007152/1.182, allocations: 4.321 MB / 0.603 GB, free: 95.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/1.182, allocations: 74.33 kB / 0.6031 GB, free: 95.63 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004347/1.186, allocations: 3.327 MB / 0.6063 GB, free: 94.45 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001814/1.187, allocations: 57.08 kB / 0.6064 GB, free: 94.39 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/1.189, allocations: 4.35 MB / 0.6106 GB, free: 91.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005944/1.189, allocations: 0.721 MB / 0.6113 GB, free: 90.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/1.19, allocations: 1.067 MB / 0.6124 GB, free: 90.22 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.054e-05/1.19, allocations: 305.1 kB / 0.6126 GB, free: 89.92 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002468/1.193, allocations: 2.04 MB / 0.6146 GB, free: 88.85 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003359/1.196, allocations: 4.687 MB / 0.6192 GB, free: 84.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006017/1.202, allocations: 7.095 MB / 0.6261 GB, free: 77.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.714e-05/1.202, allocations: 29.91 kB / 0.6262 GB, free: 77.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01027/1.213, allocations: 7.016 MB / 0.633 GB, free: 74.29 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.805e-05/1.213, allocations: 49.94 kB / 0.6331 GB, free: 74.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001944/1.213, allocations: 92.56 kB / 0.6332 GB, free: 74.28 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009653/1.214, allocations: 430.6 kB / 0.6336 GB, free: 74.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003392/1.217, allocations: 1.175 MB / 0.6347 GB, free: 73.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004281/1.222, allocations: 4.391 MB / 0.639 GB, free: 68.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004159/1.226, allocations: 0.7295 MB / 0.6397 GB, free: 67.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006332/1.226, allocations: 292 kB / 0.64 GB, free: 67.61 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * 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.005602/1.232, allocations: 3.485 MB / 0.6434 GB, free: 64.11 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007688/1.233, allocations: 306 kB / 0.6437 GB, free: 63.81 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004938/1.238, allocations: 3.298 MB / 0.6469 GB, free: 60.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00299/1.241, allocations: 2.532 MB / 0.6494 GB, free: 57.95 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.241, allocations: 8 kB / 0.6494 GB, free: 57.95 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/1.241, allocations: 11.95 kB / 0.6494 GB, free: 57.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/1.257, allocations: 9.286 MB / 0.6585 GB, free: 48.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/1.257, allocations: 4 kB / 0.6585 GB, free: 48.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.258, allocations: 355.5 kB / 0.6588 GB, free: 48.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006801/1.259, allocations: 312.7 kB / 0.6591 GB, free: 47.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/1.259, allocations: 55.48 kB / 0.6592 GB, free: 47.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00364/1.263, allocations: 4.196 MB / 0.6633 GB, free: 43.56 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.263, allocations: 0 / 0.6633 GB, free: 43.56 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005143/1.268, allocations: 4.704 MB / 0.6679 GB, free: 38.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.269, allocations: 0.6039 MB / 0.6684 GB, free: 38.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003194/1.269, allocations: 32 kB / 0.6685 GB, free: 38.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.27, allocations: 139.9 kB / 0.6686 GB, free: 38.03 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/1.271, allocations: 121.8 kB / 0.6687 GB, free: 37.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/1.271, allocations: 59.98 kB / 0.6688 GB, free: 37.85 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002724/1.273, allocations: 2.19 MB / 0.6709 GB, free: 35.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/1.273, allocations: 0 / 0.6709 GB, free: 35.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005207/1.279, allocations: 2.058 MB / 0.6729 GB, free: 33.59 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (180): * Single equations (assignments): 178 * 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.005767/1.284, allocations: 5.348 MB / 0.6782 GB, free: 28.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00603/1.29, allocations: 4.523 MB / 0.6826 GB, free: 23.67 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.29, allocations: 3.938 kB / 0.6826 GB, free: 23.67 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001766/1.292, allocations: 1.481 MB / 0.684 GB, free: 22.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/1.295, allocations: 0.6786 MB / 0.6847 GB, free: 21.51 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06617/1.361, allocations: 42.84 MB / 0.7265 GB, free: 7.457 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007858/1.369, allocations: 5.8 MB / 0.7322 GB, free: 1.617 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.004406/1.374, allocations: 1.832 MB / 0.734 GB, free: 15.78 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003875/1.378, allocations: 2.85 MB / 0.7368 GB, free: 12.93 MB / 0.5138 GB Notification: Performance of SimCode: time 1.102e-06/1.378, allocations: 0 / 0.7368 GB, free: 12.93 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3827/1.76, allocations: 92.21 MB / 0.8268 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/18.09, allocations: 5.234 kB / 0.8268 GB, free: 149.3 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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: 21.434347827977035]