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.0064/0.0064, allocations: 100.7 kB / 21.96 MB, free: 5.211 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.001644/0.001644, allocations: 213.5 kB / 25.25 MB, free: 3.145 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.367/1.367, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.001673/0.001673, allocations: 43.94 kB / 348 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2552, allocations: 49.16 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01281/0.268, allocations: 14.5 MB / 411.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009259/0.2772, allocations: 4.136 MB / 415.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002492/0.2797, allocations: 139.2 kB / 415.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01564/0.2954, allocations: 6.947 MB / 422.9 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006116/0.3015, allocations: 1.404 MB / 424.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00423/0.3057, allocations: 1.332 MB / 425.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01151/0.3172, allocations: 8.611 MB / 434.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02306/0.3403, allocations: 14.46 MB / 448.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007955/0.3483, allocations: 5.058 MB / 453.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009891/0.3582, allocations: 5.575 MB / 459.3 MB, free: 4.645 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004026/0.3622, allocations: 1.402 MB / 460.7 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005938/0.3681, allocations: 1.668 MB / 462.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005039/0.3732, allocations: 2.708 MB / 465.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01036/0.3835, allocations: 4.183 MB / 469.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02364/0.4072, allocations: 18.67 MB / 487.9 MB, free: 7.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4072, allocations: 4 kB / 487.9 MB, free: 7.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4072, allocations: 3.938 kB / 487.9 MB, free: 7.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005414/0.4077, allocations: 0 / 487.9 MB, free: 7.926 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.04768/0.4554, allocations: 10.9 MB / 498.8 MB, free: 12.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/0.4554, allocations: 11.98 kB / 498.8 MB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004095/0.4559, allocations: 259.6 kB / 499.1 MB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005213/0.4611, allocations: 1.344 MB / 0.4887 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03029/0.4914, allocations: 5.75 MB / 0.4943 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01168/0.503, allocations: 4.91 MB / 0.4991 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008079/0.5038, allocations: 0.7026 MB / 0.4998 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003454/0.5073, allocations: 0.9217 MB / 0.5007 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03654/0.5438, allocations: 13.68 MB / 0.5141 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003677/0.5442, allocations: 8 kB / 0.5141 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002648/0.5469, allocations: 384 kB / 0.5144 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005517/0.5474, allocations: 464 kB / 0.5149 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02988/0.5773, allocations: 12.82 MB / 0.5274 GB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4203/0.9976, allocations: 40.9 MB / 0.5673 GB, free: 118.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/1.008, allocations: 5.312 MB / 0.5725 GB, free: 118.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002339/1.01, allocations: 1.7 MB / 0.5742 GB, free: 118.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00946/1.02, allocations: 5.389 MB / 0.5795 GB, free: 117.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/1.02, allocations: 58 kB / 0.5795 GB, free: 117.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 5e-06/1.02, allocations: 0 / 0.5795 GB, free: 117.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007275/1.027, allocations: 4.231 MB / 0.5836 GB, free: 117.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/1.027, allocations: 77.12 kB / 0.5837 GB, free: 117.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004288/1.031, allocations: 3.331 MB / 0.587 GB, free: 116 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000257/1.032, allocations: 56.8 kB / 0.587 GB, free: 115.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002402/1.034, allocations: 4.353 MB / 0.5913 GB, free: 113.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007991/1.035, allocations: 0.7254 MB / 0.592 GB, free: 112.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/1.036, allocations: 1.065 MB / 0.593 GB, free: 112.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.543e-05/1.036, allocations: 301.1 kB / 0.5933 GB, free: 112 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/1.039, allocations: 2.042 MB / 0.5953 GB, free: 111.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003348/1.042, allocations: 4.689 MB / 0.5999 GB, free: 107 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005821/1.048, allocations: 7.099 MB / 0.6068 GB, free: 101.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-05/1.048, allocations: 25.84 kB / 0.6068 GB, free: 101.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.00904/1.057, allocations: 7.018 MB / 0.6137 GB, free: 97.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/1.057, allocations: 47.25 kB / 0.6137 GB, free: 97.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/1.057, allocations: 94.28 kB / 0.6138 GB, free: 97.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008016/1.058, allocations: 433.8 kB / 0.6142 GB, free: 97.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003128/1.061, allocations: 1.175 MB / 0.6154 GB, free: 97.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00398/1.065, allocations: 4.211 MB / 0.6195 GB, free: 94.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003671/1.069, allocations: 0.7361 MB / 0.6202 GB, free: 93.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007271/1.07, allocations: 288.9 kB / 0.6205 GB, free: 93.47 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.006264/1.076, allocations: 3.482 MB / 0.6239 GB, free: 89.98 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006915/1.076, allocations: 310 kB / 0.6242 GB, free: 89.67 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004344/1.081, allocations: 3.293 MB / 0.6274 GB, free: 86.36 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002828/1.084, allocations: 2.534 MB / 0.6299 GB, free: 83.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/1.084, allocations: 4 kB / 0.6299 GB, free: 83.81 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/1.084, allocations: 15.95 kB / 0.6299 GB, free: 83.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/1.098, allocations: 9.043 MB / 0.6387 GB, free: 74.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.098, allocations: 8.812 kB / 0.6387 GB, free: 74.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.099, allocations: 359.4 kB / 0.6391 GB, free: 74.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000596/1.1, allocations: 313.3 kB / 0.6394 GB, free: 74.05 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/1.1, allocations: 39.98 kB / 0.6394 GB, free: 74.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003493/1.104, allocations: 4.039 MB / 0.6434 GB, free: 69.88 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.104, allocations: 4 kB / 0.6434 GB, free: 69.88 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005234/1.109, allocations: 4.704 MB / 0.648 GB, free: 65.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.11, allocations: 0.5444 MB / 0.6485 GB, free: 64.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003507/1.11, allocations: 35.98 kB / 0.6485 GB, free: 64.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.112, allocations: 131.8 kB / 0.6487 GB, free: 64.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/1.112, allocations: 137.7 kB / 0.6488 GB, free: 64.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/1.112, allocations: 55.98 kB / 0.6488 GB, free: 64.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002403/1.114, allocations: 2.202 MB / 0.651 GB, free: 62.03 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/1.114, allocations: 0 / 0.651 GB, free: 62.03 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004568/1.119, allocations: 2.051 MB / 0.653 GB, free: 59.97 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.005247/1.124, allocations: 5.344 MB / 0.6582 GB, free: 54.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006596/1.131, allocations: 4.524 MB / 0.6626 GB, free: 50.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.131, allocations: 0 / 0.6626 GB, free: 50.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001856/1.133, allocations: 1.487 MB / 0.6641 GB, free: 48.58 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/1.136, allocations: 0.6768 MB / 0.6647 GB, free: 47.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05774/1.193, allocations: 42.99 MB / 0.7067 GB, free: 1.695 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008203/1.201, allocations: 5.329 MB / 0.7119 GB, free: 12.33 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004536/1.206, allocations: 1.832 MB / 0.7137 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004865/1.211, allocations: 2.854 MB / 0.7165 GB, free: 7.641 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/1.211, allocations: 0 / 0.7165 GB, free: 7.641 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3796/1.59, allocations: 95.14 MB / 0.8094 GB, free: 140 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.14/18.73, allocations: 7.688 kB / 0.8094 GB, free: 140 MB / 0.5138 GB " [Timeout remaining time 641] (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: 22.03643521608319]