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.001815/0.001815, allocations: 121.4 kB / 17.79 MB, free: 5.121 MB / 14.72 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.001942/0.001942, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 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 1.388/1.388, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001553/0.001553, allocations: 55.91 kB / 365.6 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09802, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007696/0.1057, allocations: 6.031 MB / 423.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.1088, allocations: 1.639 MB / 425.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005664/0.1094, allocations: 51.81 kB / 425.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006731/0.11, allocations: 317.4 kB / 425.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.1112, allocations: 369.5 kB / 426.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000699/0.1119, allocations: 351.5 kB / 426.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.1139, allocations: 2.013 MB / 428.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/0.1163, allocations: 2.02 MB / 430.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.1175, allocations: 1.044 MB / 431.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.1191, allocations: 1.218 MB / 432.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004016/0.1195, allocations: 312 kB / 433.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007769/0.1203, allocations: 0.4918 MB / 433.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000668/0.121, allocations: 0.7286 MB / 434.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.1224, allocations: 1.264 MB / 435.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003915/0.1263, allocations: 3.811 MB / 439.4 MB, free: 6.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1263, allocations: 0 / 439.4 MB, free: 6.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1263, allocations: 4 kB / 439.4 MB, free: 6.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.744e-05/0.1264, allocations: 0 / 439.4 MB, free: 6.816 MB / 366.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.004437/0.1308, allocations: 2.518 MB / 441.9 MB, free: 4.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1308, allocations: 8.031 kB / 441.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004021/0.1312, allocations: 332.9 kB / 442.3 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005539/0.1318, allocations: 255.4 kB / 442.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.1341, allocations: 1.314 MB / 443.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.1343, allocations: 168.9 kB / 444 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/0.1346, allocations: 219.9 kB / 444.2 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.18/0.3146, allocations: 2.538 MB / 446.8 MB, free: 27.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.797e-05/0.3146, allocations: 0 / 446.8 MB, free: 27.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.3148, allocations: 90.5 kB / 446.8 MB, free: 27.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.46e-05/0.3149, allocations: 56.22 kB / 446.9 MB, free: 27.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003264/0.3181, allocations: 2.143 MB / 449 MB, free: 27.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.33, allocations: 7.505 MB / 456.5 MB, free: 24.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.3311, allocations: 1.221 MB / 457.8 MB, free: 23.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009896/0.332, allocations: 0.6014 MB / 458.4 MB, free: 23.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.3321, allocations: 7.781 kB / 458.4 MB, free: 23.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.3321, allocations: 43.5 kB / 458.4 MB, free: 23.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.916e-06/0.3321, allocations: 0 / 458.4 MB, free: 23.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.003798/0.3359, allocations: 2.449 MB / 460.9 MB, free: 22.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.3359, allocations: 57.78 kB / 460.9 MB, free: 22.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009509/0.3369, allocations: 0.7927 MB / 461.7 MB, free: 21.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.3369, allocations: 40.25 kB / 461.8 MB, free: 21.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.3374, allocations: 0.9498 MB / 462.7 MB, free: 21.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.3375, allocations: 234.9 kB / 462.9 MB, free: 21.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.3377, allocations: 152.9 kB / 463.1 MB, free: 20.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3378, allocations: 387.3 kB / 463.5 MB, free: 20.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005318/0.3383, allocations: 364.4 kB / 463.8 MB, free: 20.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.3389, allocations: 0.5802 MB / 464.4 MB, free: 20.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.34, allocations: 0.983 MB / 465.4 MB, free: 19.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.34, allocations: 2.75 kB / 465.4 MB, free: 19.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001599/0.3416, allocations: 1.153 MB / 466.5 MB, free: 19.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.3416, allocations: 11.58 kB / 466.5 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3417, allocations: 6.438 kB / 466.6 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/0.3419, allocations: 103.9 kB / 466.7 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006496/0.3426, allocations: 178.5 kB / 466.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.3445, allocations: 2.336 MB / 469.2 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.345, allocations: 39.53 kB / 469.2 MB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.345, allocations: 33.44 kB / 469.2 MB, free: 17.09 MB / 366.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.0009503/0.346, allocations: 0.6484 MB / 469.9 MB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.3461, allocations: 86.8 kB / 470 MB, free: 16.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.3463, allocations: 109.5 kB / 470.1 MB, free: 16.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/0.3463, allocations: 8.484 kB / 470.1 MB, free: 16.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/0.3463, allocations: 2.281 kB / 470.1 MB, free: 16.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.3463, allocations: 6.391 kB / 470.1 MB, free: 16.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003928/0.3503, allocations: 2.65 MB / 472.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3503, allocations: 5.344 kB / 472.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.3507, allocations: 108.1 kB / 472.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002233/0.3509, allocations: 100.8 kB / 473 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.351, allocations: 21.73 kB / 473 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/0.3525, allocations: 2.27 MB / 475.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.3525, allocations: 1.062 kB / 475.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.3543, allocations: 1.412 MB / 476.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.3546, allocations: 224.6 kB / 476.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-05/0.3547, allocations: 21.62 kB / 476.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.3551, allocations: 46.2 kB / 476.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/0.3552, allocations: 49.28 kB / 477 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.3552, allocations: 18.66 kB / 477 MB, free: 11.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005827/0.3558, allocations: 0.5577 MB / 477.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3558, allocations: 0 / 477.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001245/0.3571, allocations: 299.2 kB / 477.9 MB, free: 11.35 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.002349/0.3594, allocations: 2.011 MB / 479.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.361, allocations: 0.9704 MB / 480.8 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.361, allocations: 0 / 480.8 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006532/0.3616, allocations: 0.5383 MB / 481.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009272/0.3625, allocations: 224.1 kB / 481.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.3733, allocations: 10.13 MB / 491.7 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/0.3746, allocations: 1.724 MB / 493.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005506/0.3751, allocations: 204.9 kB / 493.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007759/0.3759, allocations: 0.6398 MB / 494.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3759, allocations: 0 / 494.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06099/0.4369, allocations: 24.47 MB / 0.5066 GB, free: 5.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.71, allocations: 3.234 kB / 0.5066 GB, free: 5.91 MB / 398.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.155104594770819]