Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.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.001337/0.001337, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001382/0.001382, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 43.94 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2987, allocations: 53.36 MB / 431.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008458/0.3072, allocations: 6.086 MB / 438 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004291/0.3115, allocations: 1.702 MB / 439.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009269/0.3124, allocations: 63.45 kB / 439.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007834/0.3132, allocations: 321.4 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.3147, allocations: 393.5 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007854/0.3155, allocations: 359.5 kB / 440.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002418/0.3179, allocations: 2.013 MB / 442.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002185/0.3201, allocations: 1.607 MB / 444.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.3217, allocations: 1.071 MB / 445.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.3236, allocations: 1.222 MB / 446.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004689/0.3241, allocations: 312 kB / 447 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008886/0.325, allocations: 0.5151 MB / 447.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006888/0.3257, allocations: 0.7325 MB / 448.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.3271, allocations: 1.26 MB / 449.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003965/0.3311, allocations: 3.819 MB / 453.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3311, allocations: 0 / 453.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3311, allocations: 0 / 453.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.9e-05/0.3311, allocations: 0 / 453.4 MB, free: 1.258 MB / 350.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.004453/0.3356, allocations: 2.454 MB / 455.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3356, allocations: 12.03 kB / 455.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.675e-05/0.3357, allocations: 56.7 kB / 455.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003671/0.336, allocations: 332.9 kB / 456.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000778/0.3368, allocations: 275.4 kB / 456.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.3391, allocations: 1.27 MB / 457.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.3392, allocations: 172.6 kB / 457.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.3395, allocations: 216 kB / 458.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004055/0.3436, allocations: 2.542 MB / 460.7 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.3436, allocations: 0 / 460.7 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/0.3438, allocations: 92 kB / 460.8 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.968e-05/0.3438, allocations: 60 kB / 460.8 MB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003468/0.3473, allocations: 2.145 MB / 463 MB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01205/0.3594, allocations: 7.358 MB / 470.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.3604, allocations: 0.6986 MB / 471 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.3615, allocations: 0.5868 MB / 471.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.3615, allocations: 12.5 kB / 471.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.3616, allocations: 39 kB / 471.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.314e-06/0.3616, allocations: 0 / 471.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004307/0.3659, allocations: 2.383 MB / 474 MB, free: 12.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.3659, allocations: 64 kB / 474.1 MB, free: 12.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.367, allocations: 0.7973 MB / 474.9 MB, free: 11.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.3671, allocations: 37.7 kB / 474.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007046/0.3678, allocations: 0.9518 MB / 475.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.368, allocations: 234 kB / 476.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.3683, allocations: 150.6 kB / 476.3 MB, free: 9.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.3685, allocations: 390.7 kB / 476.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/0.3691, allocations: 365.8 kB / 477 MB, free: 9.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007437/0.3698, allocations: 0.579 MB / 477.6 MB, free: 8.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.3711, allocations: 0.9873 MB / 478.6 MB, free: 7.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3711, allocations: 4 kB / 478.6 MB, free: 7.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002054/0.3732, allocations: 1.161 MB / 479.7 MB, free: 6.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.3732, allocations: 8 kB / 479.7 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.3732, allocations: 8 kB / 479.8 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003262/0.3736, allocations: 104.8 kB / 479.9 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006796/0.3743, allocations: 175.7 kB / 480 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.3767, allocations: 2.226 MB / 482.3 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/0.3772, allocations: 39.97 kB / 482.3 MB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/0.3773, allocations: 32 kB / 482.3 MB, free: 3.492 MB / 382.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.00115/0.3784, allocations: 0.6496 MB / 483 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.3786, allocations: 91.38 kB / 483.1 MB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.3788, allocations: 99.73 kB / 483.2 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.892e-05/0.3789, allocations: 12 kB / 483.2 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.3789, allocations: 4 kB / 483.2 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3789, allocations: 3.984 kB / 483.2 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00463/0.3835, allocations: 2.625 MB / 485.8 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3835, allocations: 0 / 485.8 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/0.384, allocations: 112 kB / 485.9 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002459/0.3843, allocations: 100.7 kB / 486 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.3843, allocations: 19.92 kB / 486 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.3865, allocations: 2.16 MB / 488.2 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.3865, allocations: 8.062 kB / 488.2 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.3887, allocations: 1.423 MB / 489.6 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/0.3891, allocations: 155.4 kB / 489.8 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-05/0.3892, allocations: 15.94 kB / 489.8 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.3896, allocations: 39.95 kB / 489.8 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.3897, allocations: 60.41 kB / 489.9 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.3898, allocations: 16.28 kB / 489.9 MB, free: 11.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007812/0.3906, allocations: 0.5654 MB / 490.5 MB, free: 11.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3906, allocations: 0 / 490.5 MB, free: 11.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001215/0.3918, allocations: 303.9 kB / 490.8 MB, free: 10.81 MB / 398.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.002657/0.3944, allocations: 2.006 MB / 492.8 MB, free: 8.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.3962, allocations: 0.9679 MB / 493.7 MB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.3962, allocations: 4 kB / 493.7 MB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008992/0.3971, allocations: 0.5337 MB / 494.3 MB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.3983, allocations: 220.8 kB / 494.5 MB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/0.415, allocations: 10.2 MB / 0.4929 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/0.4167, allocations: 1.728 MB / 0.4946 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005562/0.4172, allocations: 207.1 kB / 0.4948 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008359/0.4181, allocations: 0.6438 MB / 0.4954 GB, free: 9.836 MB / 414.1 MB Notification: Performance of SimCode: time 1.203e-06/0.4181, allocations: 3.938 kB / 0.4954 GB, free: 9.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06/0.4781, allocations: 25.16 MB / 0.52 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.71, allocations: 4 kB / 0.52 GB, free: 0.9453 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.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.322718231996987]