Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9257/0.9257, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.368e-05, allocations: 3.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.005903/0.005927, allocations: 5.379 MB / 329.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.008879, allocations: 1.651 MB / 331.5 MB, free: 8.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006552/0.009535, allocations: 59.69 kB / 331.6 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.01009, allocations: 321.4 kB / 331.9 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.01124, allocations: 409 kB / 332.3 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006156/0.01185, allocations: 363.3 kB / 332.7 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001834/0.01369, allocations: 2.093 MB / 334.8 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.01536, allocations: 1.544 MB / 336.3 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.01717, allocations: 1.603 MB / 337.9 MB, free: 2.367 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.01853, allocations: 1.021 MB / 338.9 MB, free: 1.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000518/0.01905, allocations: 312 kB / 339.2 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006689/0.01972, allocations: 451.6 kB / 339.7 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004887/0.02021, allocations: 0.7557 MB / 340.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008608/0.02107, allocations: 0.8693 MB / 341.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.02387, allocations: 3.856 MB / 345.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.02388, allocations: 0 / 345.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02388, allocations: 0 / 345.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.705e-05/0.02392, allocations: 3.938 kB / 345.2 MB, free: 11.09 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.003201/0.02713, allocations: 2.435 MB / 347.6 MB, free: 8.613 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.02717, allocations: 15.98 kB / 347.6 MB, free: 8.598 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002716/0.02744, allocations: 328.9 kB / 347.9 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000502/0.02794, allocations: 279.4 kB / 348.2 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.02939, allocations: 1.277 MB / 349.5 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.42e-05/0.02948, allocations: 172.9 kB / 349.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.02968, allocations: 220.4 kB / 349.9 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/0.03268, allocations: 2.633 MB / 352.5 MB, free: 3.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.03271, allocations: 0 / 352.5 MB, free: 3.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.03284, allocations: 92 kB / 352.6 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.318e-05/0.03292, allocations: 84.55 kB / 352.7 MB, free: 3.414 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002942/0.03586, allocations: 2.145 MB / 354.8 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007575/0.04344, allocations: 6.762 MB / 361.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/0.04416, allocations: 0.7029 MB / 362.3 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007297/0.04489, allocations: 0.5949 MB / 362.9 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.04493, allocations: 8.5 kB / 362.9 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.04497, allocations: 39.06 kB / 362.9 MB, free: 8.914 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 4.087e-06/0.04497, allocations: 0 / 362.9 MB, free: 8.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.003148/0.04812, allocations: 2.387 MB / 365.3 MB, free: 6.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.04816, allocations: 60 kB / 365.4 MB, free: 6.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007635/0.04892, allocations: 0.8166 MB / 366.2 MB, free: 5.582 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.04896, allocations: 33.7 kB / 366.2 MB, free: 5.543 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/0.04938, allocations: 0.9519 MB / 367.2 MB, free: 4.578 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.04951, allocations: 234 kB / 367.4 MB, free: 4.348 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.04967, allocations: 146.6 kB / 367.5 MB, free: 4.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.04981, allocations: 398.7 kB / 367.9 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.05018, allocations: 365.8 kB / 368.3 MB, free: 3.441 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006928/0.05087, allocations: 0.5713 MB / 368.9 MB, free: 2.773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008601/0.05173, allocations: 0.9911 MB / 369.9 MB, free: 1.688 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.05173, allocations: 0 / 369.9 MB, free: 1.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001173/0.05291, allocations: 1.158 MB / 371 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.05293, allocations: 11.94 kB / 371 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.05294, allocations: 12.03 kB / 371 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002221/0.05317, allocations: 100.8 kB / 371.1 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.05357, allocations: 175.7 kB / 371.3 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.05518, allocations: 2.199 MB / 373.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.0555, allocations: 39.97 kB / 373.5 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.05554, allocations: 31.98 kB / 373.6 MB, free: 13.84 MB / 346.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.0007761/0.05632, allocations: 0.6535 MB / 374.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.05643, allocations: 87.42 kB / 374.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.05654, allocations: 103.7 kB / 374.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.05656, allocations: 12.25 kB / 374.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.05657, allocations: 0 / 374.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.05658, allocations: 7.922 kB / 374.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/0.05947, allocations: 2.552 MB / 377 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.05948, allocations: 4 kB / 377 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.05972, allocations: 103.9 kB / 377.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001544/0.05987, allocations: 104.7 kB / 377.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.0599, allocations: 16.14 kB / 377.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.06121, allocations: 2.144 MB / 379.4 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.06121, allocations: 3.984 kB / 379.4 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.06251, allocations: 1.415 MB / 380.8 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.06272, allocations: 159.4 kB / 380.9 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.06277, allocations: 12 kB / 380.9 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.06299, allocations: 43.89 kB / 381 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/0.06308, allocations: 56.34 kB / 381 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.06311, allocations: 20.06 kB / 381.1 MB, free: 6.117 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004858/0.06359, allocations: 0.5654 MB / 381.6 MB, free: 5.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06359, allocations: 0 / 381.6 MB, free: 5.559 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007373/0.06433, allocations: 300 kB / 381.9 MB, free: 5.266 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.001876/0.06621, allocations: 1.994 MB / 383.9 MB, free: 3.223 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.06732, allocations: 0.9681 MB / 384.9 MB, free: 2.242 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.06732, allocations: 4 kB / 384.9 MB, free: 2.238 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005354/0.06786, allocations: 0.5324 MB / 385.4 MB, free: 1.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006689/0.06853, allocations: 227.9 kB / 385.6 MB, free: 1.469 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.07921, allocations: 10.2 MB / 395.8 MB, free: 6.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.08029, allocations: 1.156 MB / 397 MB, free: 5.707 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003829/0.08067, allocations: 203.1 kB / 397.2 MB, free: 5.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/0.0812, allocations: 0.6487 MB / 397.8 MB, free: 4.855 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.0812, allocations: 3.938 kB / 397.8 MB, free: 4.852 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04162/0.1228, allocations: 26.06 MB / 423.9 MB, free: 11.04 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/7.629, allocations: 7.891 kB / 423.9 MB, free: 11.03 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.439273541793227]