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.0006764/0.0006764, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008062/0.0008062, 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.9281/0.9281, allocations: 177 MB / 204.1 MB, free: 5.742 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 2.265e-06/2.265e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.627e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007686/0.007712, allocations: 5.376 MB / 329.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.01105, allocations: 1.651 MB / 331.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005728/0.01162, allocations: 59.69 kB / 331.6 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006774/0.0123, allocations: 333.3 kB / 331.9 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.0135, allocations: 397 kB / 332.3 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005755/0.01407, allocations: 363.3 kB / 332.7 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.01558, allocations: 2.093 MB / 334.8 MB, free: 5.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.01704, allocations: 1.552 MB / 336.3 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.01838, allocations: 1.599 MB / 337.9 MB, free: 2.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.01942, allocations: 1.025 MB / 338.9 MB, free: 1.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002985/0.01972, allocations: 308 kB / 339.2 MB, free: 1.047 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005216/0.02024, allocations: 455.6 kB / 339.7 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004471/0.02069, allocations: 0.7479 MB / 340.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006955/0.02139, allocations: 0.8732 MB / 341.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.0239, allocations: 3.856 MB / 345.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.0239, allocations: 0 / 345.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.02391, allocations: 7.938 kB / 345.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.571e-05/0.02395, allocations: 0 / 345.2 MB, free: 11.1 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.003129/0.02708, allocations: 2.431 MB / 347.6 MB, free: 8.625 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.02713, allocations: 15.98 kB / 347.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003152/0.02744, allocations: 336.9 kB / 347.9 MB, free: 8.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000493/0.02794, allocations: 275.4 kB / 348.2 MB, free: 8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.0293, allocations: 1.277 MB / 349.5 MB, free: 6.688 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/0.02938, allocations: 164.9 kB / 349.6 MB, free: 6.523 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.02958, allocations: 224.4 kB / 349.9 MB, free: 6.305 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.03309, allocations: 2.633 MB / 352.5 MB, free: 3.602 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.03312, allocations: 0 / 352.5 MB, free: 3.602 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.03325, allocations: 88 kB / 352.6 MB, free: 3.516 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-05/0.03332, allocations: 92.53 kB / 352.7 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.03568, allocations: 2.141 MB / 354.8 MB, free: 1.266 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006941/0.04262, allocations: 6.762 MB / 361.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.0433, allocations: 0.6961 MB / 362.3 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/0.04398, allocations: 0.5949 MB / 362.9 MB, free: 8.984 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.04401, allocations: 4.5 kB / 362.9 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.04404, allocations: 39.06 kB / 362.9 MB, free: 8.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 1.613e-06/0.04405, allocations: 0 / 362.9 MB, free: 8.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.002784/0.04683, allocations: 2.399 MB / 365.3 MB, free: 6.488 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.04687, allocations: 60.06 kB / 365.4 MB, free: 6.418 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/0.0476, allocations: 0.8166 MB / 366.2 MB, free: 5.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.04764, allocations: 37.7 kB / 366.2 MB, free: 5.547 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/0.04813, allocations: 0.948 MB / 367.2 MB, free: 4.586 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.04827, allocations: 234 kB / 367.4 MB, free: 4.355 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.04844, allocations: 150.5 kB / 367.5 MB, free: 4.203 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.04858, allocations: 390.8 kB / 367.9 MB, free: 3.812 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.04897, allocations: 365.8 kB / 368.3 MB, free: 3.453 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/0.04948, allocations: 0.5752 MB / 368.9 MB, free: 2.781 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009427/0.05043, allocations: 0.9872 MB / 369.8 MB, free: 1.699 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.05043, allocations: 4 kB / 369.9 MB, free: 1.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00119/0.05162, allocations: 1.154 MB / 371 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.05164, allocations: 11.94 kB / 371 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.05165, allocations: 8 kB / 371 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.05185, allocations: 108.8 kB / 371.1 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.05221, allocations: 171.8 kB / 371.3 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.05379, allocations: 2.203 MB / 373.5 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.05404, allocations: 35.97 kB / 373.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.05409, allocations: 36 kB / 373.6 MB, free: 13.85 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.0006414/0.05473, allocations: 0.6497 MB / 374.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.05483, allocations: 87.42 kB / 374.3 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.05493, allocations: 103.9 kB / 374.4 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.05494, allocations: 8 kB / 374.4 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.05495, allocations: 3.938 kB / 374.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.05496, allocations: 7.922 kB / 374.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.05761, allocations: 2.544 MB / 377 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.05761, allocations: 8 kB / 377 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.05785, allocations: 112 kB / 377.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001476/0.05799, allocations: 100.7 kB / 377.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.05802, allocations: 16 kB / 377.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.0594, allocations: 2.144 MB / 379.3 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.0594, allocations: 4.031 kB / 379.4 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.0608, allocations: 1.419 MB / 380.8 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.061, allocations: 151.4 kB / 380.9 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.06105, allocations: 20 kB / 380.9 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.06126, allocations: 48.02 kB / 381 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.06135, allocations: 48.34 kB / 381 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.06138, allocations: 20 kB / 381.1 MB, free: 6.129 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005003/0.06188, allocations: 0.5654 MB / 381.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06188, allocations: 0 / 381.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006613/0.06254, allocations: 296 kB / 381.9 MB, free: 5.281 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.001615/0.06416, allocations: 1.998 MB / 383.9 MB, free: 3.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000965/0.06512, allocations: 0.9689 MB / 384.9 MB, free: 2.254 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.06512, allocations: 3.938 kB / 384.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000649/0.06577, allocations: 0.5328 MB / 385.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.06641, allocations: 222.9 kB / 385.6 MB, free: 1.484 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.07669, allocations: 10.21 MB / 395.8 MB, free: 6.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009163/0.07761, allocations: 1.148 MB / 397 MB, free: 5.723 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000354/0.07796, allocations: 207.1 kB / 397.2 MB, free: 5.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005369/0.0785, allocations: 0.6448 MB / 397.8 MB, free: 4.871 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.0785, allocations: 4 kB / 397.8 MB, free: 4.867 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04243/0.1209, allocations: 26.06 MB / 423.9 MB, free: 11.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/7.784, allocations: 8.016 kB / 423.9 MB, free: 11.04 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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.623778525739908]