Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8653/0.8653, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.537e-05, allocations: 2.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006623/0.006639, allocations: 5.318 MB / 323.8 MB, free: 1 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.009103, allocations: 1.608 MB / 325.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004056/0.009509, allocations: 59.69 kB / 325.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004375/0.009946, allocations: 317.4 kB / 325.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007507/0.0107, allocations: 401 kB / 326.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.01109, allocations: 359.4 kB / 326.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.01233, allocations: 2.07 MB / 328.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.01356, allocations: 1.548 MB / 330.1 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.01459, allocations: 1.591 MB / 331.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008218/0.01541, allocations: 1.021 MB / 332.7 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.01562, allocations: 308 kB / 333 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004118/0.01603, allocations: 463.6 kB / 333.5 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000368/0.0164, allocations: 0.7479 MB / 334.2 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005443/0.01694, allocations: 0.8654 MB / 335.1 MB, free: 5.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.01919, allocations: 3.845 MB / 338.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.01919, allocations: 3.984 kB / 338.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.0192, allocations: 0 / 338.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.614e-05/0.01923, allocations: 0 / 338.9 MB, free: 1.73 MB / 298.7 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.002628/0.02186, allocations: 2.415 MB / 341.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.0219, allocations: 12.92 kB / 341.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004246/0.02232, allocations: 332.9 kB / 341.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003271/0.02265, allocations: 251.4 kB / 341.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.02394, allocations: 1.253 MB / 343.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.958e-05/0.02402, allocations: 168.9 kB / 343.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.02421, allocations: 220.3 kB / 343.6 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/0.02702, allocations: 2.621 MB / 346.2 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.02705, allocations: 0 / 346.2 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.02717, allocations: 92 kB / 346.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/0.02722, allocations: 56 kB / 346.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.0294, allocations: 2.145 MB / 348.5 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006837/0.03624, allocations: 6.727 MB / 355.2 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/0.0369, allocations: 0.6871 MB / 355.9 MB, free: 376 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006452/0.03754, allocations: 0.591 MB / 356.5 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.03758, allocations: 8.5 kB / 356.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.0376, allocations: 47.06 kB / 356.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 2.615e-06/0.03761, allocations: 0 / 356.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.002553/0.04016, allocations: 2.379 MB / 358.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.04019, allocations: 60 kB / 359 MB, free: 13.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008878/0.04108, allocations: 0.8088 MB / 359.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.04111, allocations: 37.7 kB / 359.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.04148, allocations: 0.9402 MB / 360.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.0416, allocations: 226 kB / 361 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.04173, allocations: 154.6 kB / 361.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.04186, allocations: 390.8 kB / 361.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.04221, allocations: 361.8 kB / 361.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.04265, allocations: 0.5907 MB / 362.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000813/0.04346, allocations: 0.9794 MB / 363.4 MB, free: 8.523 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.04346, allocations: 4 kB / 363.4 MB, free: 8.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001086/0.04455, allocations: 1.149 MB / 364.6 MB, free: 7.359 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.04457, allocations: 8 kB / 364.6 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.04458, allocations: 8 kB / 364.6 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.04477, allocations: 113 kB / 364.7 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.04513, allocations: 179.7 kB / 364.9 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.04675, allocations: 2.203 MB / 367.1 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.04698, allocations: 39.97 kB / 367.1 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.04703, allocations: 44.05 kB / 367.2 MB, free: 4.656 MB / 330.7 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.0005523/0.04758, allocations: 0.6496 MB / 367.8 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.096e-05/0.04767, allocations: 83.48 kB / 367.9 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.905e-05/0.04777, allocations: 95.56 kB / 368 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.04779, allocations: 11.94 kB / 368 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.04779, allocations: 4 kB / 368 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.0478, allocations: 3.984 kB / 368 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/0.05038, allocations: 2.536 MB / 370.5 MB, free: 1.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.05038, allocations: 7.969 kB / 370.6 MB, free: 1.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.05063, allocations: 107.9 kB / 370.7 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/0.05078, allocations: 104.8 kB / 370.8 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.05081, allocations: 12 kB / 370.8 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.05208, allocations: 2.148 MB / 372.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.05209, allocations: 3.938 kB / 372.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.05359, allocations: 1.423 MB / 374.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.05378, allocations: 151.5 kB / 374.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.05383, allocations: 19.98 kB / 374.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.05404, allocations: 39.91 kB / 374.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.121e-05/0.05413, allocations: 52.34 kB / 374.6 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.05416, allocations: 19.98 kB / 374.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000464/0.05462, allocations: 0.5576 MB / 375.2 MB, free: 12.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05462, allocations: 0 / 375.2 MB, free: 12.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006441/0.05527, allocations: 304 kB / 375.5 MB, free: 12.11 MB / 346.7 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.001616/0.05688, allocations: 1.998 MB / 377.5 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.05792, allocations: 0.9727 MB / 378.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.05792, allocations: 0 / 378.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.05846, allocations: 0.5363 MB / 379 MB, free: 8.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006622/0.05912, allocations: 211.2 kB / 379.2 MB, free: 8.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009498/0.06862, allocations: 10.15 MB / 389.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007878/0.06941, allocations: 1.144 MB / 390.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003501/0.06976, allocations: 199.1 kB / 390.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/0.07027, allocations: 0.6448 MB / 391.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.07027, allocations: 3.938 kB / 391.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03854/0.1088, allocations: 25.99 MB / 417.3 MB, free: 2.062 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/7.778, allocations: 18.3 kB / 417.3 MB, free: 2.051 MB / 378.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.481064229272306]