Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.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.001138/0.001138, allocations: 107.6 kB / 21.18 MB, free: 0.6094 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.001351/0.001351, allocations: 215 kB / 24.48 MB, free: 3.934 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.336/1.336, allocations: 207.7 MB / 235.3 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 179] 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.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",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.001766/0.001766, allocations: 54.58 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2326, allocations: 49.16 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006351/0.239, allocations: 5.285 MB / 401.6 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003173/0.2422, allocations: 1.642 MB / 403.3 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004774/0.2426, allocations: 52.41 kB / 403.3 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005624/0.2432, allocations: 323.6 kB / 403.6 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009804/0.2442, allocations: 380.6 kB / 404 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006872/0.2449, allocations: 363.9 kB / 404.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.2466, allocations: 2.017 MB / 406.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.2485, allocations: 1.518 MB / 407.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.2496, allocations: 1.057 MB / 409 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.2511, allocations: 1.148 MB / 410.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004233/0.2515, allocations: 309.2 kB / 410.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009094/0.2525, allocations: 464.6 kB / 410.9 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005422/0.253, allocations: 0.7309 MB / 411.6 MB, free: 112 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.2544, allocations: 1.019 MB / 412.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003885/0.2583, allocations: 3.815 MB / 416.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2583, allocations: 0 / 416.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2583, allocations: 0 / 416.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.516e-05/0.2583, allocations: 1.062 kB / 416.4 MB, free: 12.57 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.00477/0.2631, allocations: 2.436 MB / 418.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.2631, allocations: 13.58 kB / 418.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004311/0.2636, allocations: 326.9 kB / 419.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006286/0.2642, allocations: 251 kB / 419.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.2665, allocations: 1.124 MB / 420.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.2666, allocations: 171 kB / 420.7 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/0.2669, allocations: 233.7 kB / 421 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004533/0.2715, allocations: 2.611 MB / 423.6 MB, free: 7.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/0.2715, allocations: 4 kB / 423.6 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.2717, allocations: 88 kB / 423.7 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.676e-05/0.2718, allocations: 60 kB / 423.7 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003605/0.2754, allocations: 2.141 MB / 425.9 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/0.287, allocations: 6.707 MB / 432.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.2881, allocations: 0.6858 MB / 433.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.2891, allocations: 0.5907 MB / 433.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.2892, allocations: 12.44 kB / 433.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.2892, allocations: 39.06 kB / 433.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 2.926e-06/0.2892, allocations: 0 / 433.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004265/0.2935, allocations: 2.391 MB / 436.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.2935, allocations: 60.06 kB / 436.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.2946, allocations: 0.8087 MB / 437.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.2946, allocations: 37.7 kB / 437.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006752/0.2953, allocations: 0.9479 MB / 438.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.2955, allocations: 234 kB / 438.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.2957, allocations: 146.6 kB / 438.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.2959, allocations: 390.8 kB / 438.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005915/0.2965, allocations: 369.8 kB / 439.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/0.2973, allocations: 0.5868 MB / 439.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.2987, allocations: 0.9795 MB / 440.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.2987, allocations: 4 kB / 440.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001881/0.3006, allocations: 1.153 MB / 442 MB, free: 4.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3006, allocations: 8 kB / 442 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.3006, allocations: 12.48 kB / 442 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/0.3009, allocations: 112.8 kB / 442.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.3016, allocations: 171.7 kB / 442.3 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.304, allocations: 2.21 MB / 444.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.3045, allocations: 43.97 kB / 444.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.92e-05/0.3046, allocations: 28 kB / 444.6 MB, free: 2.004 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009922/0.3055, allocations: 0.6457 MB / 445.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.3057, allocations: 87.42 kB / 445.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.3059, allocations: 99.56 kB / 445.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/0.3059, allocations: 16.05 kB / 445.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.3059, allocations: 0 / 445.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3059, allocations: 0 / 445.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/0.3103, allocations: 2.547 MB / 448 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.3103, allocations: 4 kB / 448 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/0.3108, allocations: 107.8 kB / 448.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002437/0.311, allocations: 113 kB / 448.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.311, allocations: 19.92 kB / 448.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.3132, allocations: 2.136 MB / 450.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3132, allocations: 4.094 kB / 450.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.3154, allocations: 1.427 MB / 451.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/0.3158, allocations: 155.4 kB / 451.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.904e-05/0.3159, allocations: 19.92 kB / 451.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.3163, allocations: 44.09 kB / 452 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.3164, allocations: 56.33 kB / 452 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.3165, allocations: 20 kB / 452 MB, free: 10.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007418/0.3172, allocations: 0.5576 MB / 452.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3172, allocations: 0 / 452.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001084/0.3183, allocations: 296 kB / 452.9 MB, free: 9.434 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002588/0.3209, allocations: 2.006 MB / 454.9 MB, free: 7.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.3226, allocations: 0.9688 MB / 455.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3226, allocations: 0 / 455.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008997/0.3235, allocations: 0.5445 MB / 456.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.3245, allocations: 222.8 kB / 456.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.3393, allocations: 10.17 MB / 466.8 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.3405, allocations: 1.148 MB / 467.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005496/0.3411, allocations: 195.1 kB / 468.1 MB, free: 9.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007995/0.3419, allocations: 0.6477 MB / 468.8 MB, free: 9.062 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3419, allocations: 0 / 468.8 MB, free: 9.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06357/0.4055, allocations: 25.91 MB / 494.7 MB, free: 15.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.4, allocations: 15.88 kB / 494.7 MB, free: 15.04 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.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: 14.722265714779496]