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.001785/0.001785, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002284/0.002284, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.42/1.42, allocations: 207.6 MB / 235.3 MB, free: 10 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.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.001739/0.001739, allocations: 52.41 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2533, allocations: 49.16 MB / 396.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006152/0.2595, allocations: 6.015 MB / 402.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.2628, allocations: 1.692 MB / 404.1 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008536/0.2637, allocations: 52.91 kB / 404.1 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007584/0.2644, allocations: 318.1 kB / 404.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.2657, allocations: 385.1 kB / 404.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000728/0.2664, allocations: 364.9 kB / 405.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001958/0.2684, allocations: 2.017 MB / 407.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.2702, allocations: 1.576 MB / 408.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.2714, allocations: 1.057 MB / 409.8 MB, free: 404 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.2731, allocations: 1.218 MB / 411 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004184/0.2736, allocations: 310.2 kB / 411.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.2746, allocations: 0.5504 MB / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007322/0.2753, allocations: 0.7332 MB / 412.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.2767, allocations: 1.263 MB / 413.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004553/0.2812, allocations: 3.803 MB / 417.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2813, allocations: 0 / 417.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2813, allocations: 0 / 417.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.828e-05/0.2813, allocations: 1.188 kB / 417.7 MB, free: 11.39 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.005097/0.2864, allocations: 2.444 MB / 420.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.2865, allocations: 13.89 kB / 420.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004437/0.2869, allocations: 331.6 kB / 420.5 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006296/0.2876, allocations: 249.7 kB / 420.7 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.2898, allocations: 1.12 MB / 421.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.2899, allocations: 168.2 kB / 422 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003141/0.2902, allocations: 228.5 kB / 422.2 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004438/0.2946, allocations: 2.548 MB / 424.8 MB, free: 6.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/0.2947, allocations: 0 / 424.8 MB, free: 6.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/0.2949, allocations: 92 kB / 424.8 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.257e-05/0.295, allocations: 56 kB / 424.9 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003596/0.2986, allocations: 2.134 MB / 427 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/0.3118, allocations: 7.366 MB / 434.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.3128, allocations: 0.6899 MB / 435.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.3139, allocations: 0.5946 MB / 435.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.704e-05/0.314, allocations: 12.48 kB / 435.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.314, allocations: 39.06 kB / 435.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 3.246e-06/0.314, allocations: 0 / 435.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004539/0.3186, allocations: 2.387 MB / 438.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.3186, allocations: 60.06 kB / 438.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.3198, allocations: 0.7972 MB / 439 MB, free: 8.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.3198, allocations: 33.7 kB / 439 MB, free: 8.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007584/0.3206, allocations: 0.9441 MB / 440 MB, free: 7.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.3208, allocations: 242 kB / 440.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/0.3211, allocations: 142.6 kB / 440.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.3213, allocations: 390.8 kB / 440.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/0.3219, allocations: 365.8 kB / 441.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008906/0.3228, allocations: 0.5829 MB / 441.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.3242, allocations: 0.9872 MB / 442.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3242, allocations: 0 / 442.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001963/0.3262, allocations: 1.157 MB / 443.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3262, allocations: 11.94 kB / 443.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.3262, allocations: 8 kB / 443.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/0.3266, allocations: 117 kB / 443.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/0.3272, allocations: 175.7 kB / 444.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.3298, allocations: 2.222 MB / 446.3 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/0.3303, allocations: 44.03 kB / 446.4 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/0.3304, allocations: 36 kB / 446.4 MB, free: 380 kB / 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.00112/0.3315, allocations: 0.6458 MB / 447 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.3317, allocations: 87.38 kB / 447.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.3319, allocations: 103.5 kB / 447.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/0.3319, allocations: 8 kB / 447.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3319, allocations: 0 / 447.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3319, allocations: 7.984 kB / 447.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004565/0.3365, allocations: 2.633 MB / 449.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3365, allocations: 4 kB / 449.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/0.337, allocations: 108 kB / 450 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002407/0.3372, allocations: 104.8 kB / 450.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.3372, allocations: 15.94 kB / 450.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/0.3396, allocations: 2.156 MB / 452.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3396, allocations: 4.031 kB / 452.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.3417, allocations: 1.427 MB / 453.7 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/0.3422, allocations: 151.4 kB / 453.8 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.895e-05/0.3423, allocations: 23.91 kB / 453.9 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.3427, allocations: 43.91 kB / 453.9 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.3429, allocations: 56.44 kB / 454 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.3429, allocations: 16 kB / 454 MB, free: 8.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007418/0.3436, allocations: 0.5615 MB / 454.5 MB, free: 7.992 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3436, allocations: 0 / 454.5 MB, free: 7.992 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001074/0.3447, allocations: 307.8 kB / 454.8 MB, free: 7.691 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.002742/0.3475, allocations: 2.002 MB / 456.8 MB, free: 5.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.3492, allocations: 0.9711 MB / 457.8 MB, free: 4.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3492, allocations: 0 / 457.8 MB, free: 4.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008699/0.35, allocations: 0.546 MB / 458.4 MB, free: 4.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.3511, allocations: 218.8 kB / 458.6 MB, free: 3.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.3657, allocations: 10.17 MB / 468.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/0.3673, allocations: 1.72 MB / 470.5 MB, free: 7.602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005562/0.3678, allocations: 207.1 kB / 470.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007981/0.3686, allocations: 0.6399 MB / 471.3 MB, free: 6.754 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3686, allocations: 0 / 471.3 MB, free: 6.754 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06894/0.4376, allocations: 25.07 MB / 496.4 MB, free: 13.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.25, allocations: 4.062 kB / 496.4 MB, free: 13.59 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: 15.699356121011078]