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.001552/0.001552, allocations: 104.5 kB / 21.96 MB, free: 5.219 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.001642/0.001642, allocations: 214 kB / 25.26 MB, free: 3.129 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.38/1.38, allocations: 207.7 MB / 236.1 MB, free: 9.789 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_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.001668/0.001668, allocations: 50.73 kB / 348 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2543, allocations: 49.16 MB / 397.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006065/0.2604, allocations: 5.277 MB / 402.4 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003138/0.2635, allocations: 1.627 MB / 404 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005901/0.2641, allocations: 52.03 kB / 404.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005837/0.2647, allocations: 325.7 kB / 404.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.2659, allocations: 392.1 kB / 404.8 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006587/0.2665, allocations: 364.5 kB / 405.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001889/0.2684, allocations: 2.014 MB / 407.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.2702, allocations: 1.577 MB / 408.7 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.2715, allocations: 1.061 MB / 409.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.2728, allocations: 1.219 MB / 411 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000364/0.2732, allocations: 308.7 kB / 411.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007615/0.274, allocations: 473.6 kB / 411.8 MB, free: 472 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005903/0.2746, allocations: 0.7343 MB / 412.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.2758, allocations: 1.021 MB / 413.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00371/0.2795, allocations: 3.81 MB / 417.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2795, allocations: 0 / 417.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2795, allocations: 1.188 kB / 417.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.176e-05/0.2796, allocations: 3.938 kB / 417.4 MB, free: 12.4 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.0046/0.2842, allocations: 2.441 MB / 419.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2842, allocations: 12.92 kB / 419.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.802e-05/0.2843, allocations: 59.73 kB / 419.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003854/0.2847, allocations: 323.5 kB / 420.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000588/0.2853, allocations: 250.2 kB / 420.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.2871, allocations: 1.128 MB / 421.6 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.2873, allocations: 172.5 kB / 421.7 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003045/0.2876, allocations: 216.8 kB / 421.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00425/0.2918, allocations: 2.616 MB / 424.6 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/0.2919, allocations: 3.938 kB / 424.6 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.292, allocations: 92 kB / 424.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-05/0.2921, allocations: 59.98 kB / 424.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.2955, allocations: 2.137 MB / 426.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.3066, allocations: 6.711 MB / 433.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.3076, allocations: 0.6859 MB / 434.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.3087, allocations: 0.5907 MB / 434.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.3087, allocations: 8.5 kB / 434.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.3088, allocations: 47 kB / 434.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 3.286e-06/0.3088, allocations: 0 / 434.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004379/0.3131, allocations: 2.387 MB / 437.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.3132, allocations: 56.06 kB / 437.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.3143, allocations: 0.8011 MB / 438.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.3144, allocations: 37.7 kB / 438.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006751/0.315, allocations: 0.9402 MB / 439.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.3152, allocations: 234 kB / 439.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.3155, allocations: 146.6 kB / 439.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.3157, allocations: 398.7 kB / 439.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/0.3163, allocations: 369.7 kB / 440.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000736/0.317, allocations: 0.5791 MB / 440.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.3183, allocations: 0.9833 MB / 441.8 MB, free: 5.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3184, allocations: 4 kB / 441.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001914/0.3203, allocations: 1.165 MB / 443 MB, free: 4.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.3203, allocations: 12.09 kB / 443 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.3203, allocations: 4 kB / 443 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003145/0.3206, allocations: 112.7 kB / 443.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/0.3213, allocations: 175.7 kB / 443.3 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.3237, allocations: 2.199 MB / 445.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/0.3242, allocations: 43.97 kB / 445.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.467e-05/0.3243, allocations: 36 kB / 445.5 MB, free: 1.805 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.001029/0.3253, allocations: 0.6457 MB / 446.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.3255, allocations: 87.38 kB / 446.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.3257, allocations: 107.6 kB / 446.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/0.3257, allocations: 8 kB / 446.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3257, allocations: 0 / 446.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.3257, allocations: 7.984 kB / 446.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004277/0.33, allocations: 2.536 MB / 448.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.33, allocations: 0 / 448.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/0.3305, allocations: 108 kB / 449 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002478/0.3307, allocations: 100.8 kB / 449.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.3308, allocations: 23.86 kB / 449.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.3329, allocations: 2.152 MB / 451.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3329, allocations: 4.031 kB / 451.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.3351, allocations: 1.423 MB / 452.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/0.3355, allocations: 155.6 kB / 452.9 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.3356, allocations: 19.94 kB / 452.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.336, allocations: 40.02 kB / 452.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.3361, allocations: 60.34 kB / 453 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/0.3361, allocations: 16 kB / 453 MB, free: 10.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000743/0.3369, allocations: 0.5536 MB / 453.6 MB, free: 9.535 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3369, allocations: 0 / 453.6 MB, free: 9.535 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001155/0.338, allocations: 303.9 kB / 453.9 MB, free: 9.238 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.002462/0.3405, allocations: 2.01 MB / 455.9 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.3422, allocations: 0.9683 MB / 456.8 MB, free: 6.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.3422, allocations: 4.562 kB / 456.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008638/0.343, allocations: 0.544 MB / 457.4 MB, free: 5.637 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3442, allocations: 216.4 kB / 457.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.3589, allocations: 10.17 MB / 467.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.3601, allocations: 1.152 MB / 468.9 MB, free: 9.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005683/0.3607, allocations: 199.1 kB / 469.1 MB, free: 9.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008089/0.3615, allocations: 0.6438 MB / 469.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3615, allocations: 4 kB / 469.8 MB, free: 8.859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05652/0.418, allocations: 25.8 MB / 495.6 MB, free: 14.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.79, allocations: 4.062 kB / 495.6 MB, free: 14.96 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.311564655974507]