Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.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.001819/0.001819, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002116/0.002116, allocations: 207.8 kB / 23.73 MB, free: 4.391 MB / 14.72 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 1.482/1.482, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] 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.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.89 kB / 377.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2274, allocations: 53.41 MB / 431.2 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01775/0.2452, allocations: 14.26 MB / 445.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00814/0.2533, allocations: 4.017 MB / 449.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.2552, allocations: 171.2 kB / 449.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01641/0.2716, allocations: 6.912 MB / 456.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005516/0.2771, allocations: 1.343 MB / 457.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003553/0.2806, allocations: 1.219 MB / 459.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009758/0.2904, allocations: 8.312 MB / 467.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02249/0.3129, allocations: 14.22 MB / 481.6 MB, free: 3.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006717/0.3196, allocations: 4.914 MB / 486.5 MB, free: 14.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008356/0.328, allocations: 5.178 MB / 491.7 MB, free: 9.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003295/0.3313, allocations: 1.379 MB / 493.1 MB, free: 8.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004432/0.3357, allocations: 1.66 MB / 494.7 MB, free: 6.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003029/0.3387, allocations: 2.588 MB / 497.3 MB, free: 3.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00601/0.3447, allocations: 4.047 MB / 0.4896 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0193/0.364, allocations: 18.44 MB / 0.5076 GB, free: 13.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.364, allocations: 0 / 0.5076 GB, free: 13.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.364, allocations: 3.938 kB / 0.5076 GB, free: 13.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003325/0.3644, allocations: 0 / 0.5076 GB, free: 13.34 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02759/0.392, allocations: 10.55 MB / 0.5179 GB, free: 2.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.392, allocations: 11.98 kB / 0.5179 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002695/0.3947, allocations: 1.298 MB / 0.5192 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01899/0.4137, allocations: 3.702 MB / 0.5228 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/0.427, allocations: 5.429 MB / 0.5281 GB, free: 8.195 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007549/0.4277, allocations: 0.6824 MB / 0.5288 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002938/0.4306, allocations: 0.8867 MB / 0.5297 GB, free: 6.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3708/0.8014, allocations: 12.81 MB / 0.5422 GB, free: 86.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001877/0.8016, allocations: 8.953 kB / 0.5422 GB, free: 86.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008565/0.8025, allocations: 375.1 kB / 0.5425 GB, free: 86.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002568/0.8027, allocations: 401.7 kB / 0.5429 GB, free: 86.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01648/0.8192, allocations: 11.4 MB / 0.5541 GB, free: 81.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04719/0.8664, allocations: 38.97 MB / 0.5921 GB, free: 43.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00687/0.8733, allocations: 4.174 MB / 0.5962 GB, free: 39.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.875, allocations: 1.534 MB / 0.5977 GB, free: 37.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.8752, allocations: 65.94 kB / 0.5977 GB, free: 37.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.8752, allocations: 52.56 kB / 0.5978 GB, free: 37.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.749e-06/0.8752, allocations: 2.297 kB / 0.5978 GB, free: 37.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.00713/0.8823, allocations: 4.609 MB / 0.6023 GB, free: 32.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.8823, allocations: 77.34 kB / 0.6024 GB, free: 32.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003169/0.8855, allocations: 3.067 MB / 0.6054 GB, free: 29.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.8856, allocations: 61.7 kB / 0.6054 GB, free: 29.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001286/0.8869, allocations: 3.975 MB / 0.6093 GB, free: 26.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004415/0.8874, allocations: 0.8282 MB / 0.6101 GB, free: 25.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/0.8884, allocations: 0.9605 MB / 0.6111 GB, free: 24.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.467e-05/0.8884, allocations: 301.1 kB / 0.6113 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002165/0.8906, allocations: 1.976 MB / 0.6133 GB, free: 22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002822/0.8934, allocations: 4.161 MB / 0.6173 GB, free: 16.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005205/0.8986, allocations: 6.525 MB / 0.6237 GB, free: 9.203 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.298e-05/0.8986, allocations: 20 kB / 0.6237 GB, free: 9.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007778/0.9064, allocations: 6.524 MB / 0.6301 GB, free: 2.648 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.9065, allocations: 39.94 kB / 0.6301 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.665e-05/0.9065, allocations: 80.17 kB / 0.6302 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007556/0.9073, allocations: 413.2 kB / 0.6306 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002876/0.9102, allocations: 1.068 MB / 0.6317 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005352/0.9155, allocations: 4.208 MB / 0.6358 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/0.9186, allocations: 0.6325 MB / 0.6364 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004006/0.919, allocations: 252 kB / 0.6366 GB, free: 11.85 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005226/0.9242, allocations: 3.376 MB / 0.6399 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005865/0.9248, allocations: 290.2 kB / 0.6402 GB, free: 8.176 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00626/0.931, allocations: 3.565 MB / 0.6437 GB, free: 4.582 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004609/0.9356, allocations: 2.815 MB / 0.6464 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/0.9357, allocations: 4 kB / 0.6464 GB, free: 1.754 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/0.9357, allocations: 11.95 kB / 0.6464 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/0.9531, allocations: 9.593 MB / 0.6558 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.9531, allocations: 7.984 kB / 0.6558 GB, free: 8.102 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/0.9548, allocations: 411.4 kB / 0.6562 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007478/0.9556, allocations: 312.7 kB / 0.6565 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.9557, allocations: 55.97 kB / 0.6566 GB, free: 7.336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005407/0.9611, allocations: 4.038 MB / 0.6605 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.9611, allocations: 0 / 0.6605 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008081/0.9692, allocations: 5.146 MB / 0.6655 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/0.9707, allocations: 0.5561 MB / 0.6661 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/0.971, allocations: 40 kB / 0.6661 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.9722, allocations: 131.8 kB / 0.6662 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/0.9725, allocations: 157.7 kB / 0.6664 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.9726, allocations: 63.98 kB / 0.6664 GB, free: 13.06 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003049/0.9757, allocations: 1.975 MB / 0.6684 GB, free: 11.08 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9757, allocations: 0 / 0.6684 GB, free: 11.08 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004828/0.9805, allocations: 1.992 MB / 0.6703 GB, free: 9.078 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009249/0.9897, allocations: 5.784 MB / 0.676 GB, free: 3.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007465/0.9972, allocations: 4.447 MB / 0.6803 GB, free: 14.8 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.9972, allocations: 0 / 0.6803 GB, free: 14.8 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002579/0.9998, allocations: 1.619 MB / 0.6819 GB, free: 13.17 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/1.003, allocations: 0.6825 MB / 0.6826 GB, free: 12.5 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06539/1.068, allocations: 40.28 MB / 0.7219 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006526/1.075, allocations: 5.168 MB / 0.7269 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003995/1.079, allocations: 1.694 MB / 0.7286 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003706/1.082, allocations: 2.745 MB / 0.7313 GB, free: 7.902 MB / 0.545 GB Notification: Performance of SimCode: time 7.22e-07/1.082, allocations: 0 / 0.7313 GB, free: 7.902 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3201/1.403, allocations: 91.87 MB / 0.821 GB, free: 152.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16.47, allocations: 10.97 kB / 0.821 GB, free: 152.2 MB / 0.5607 GB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.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_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor.plug_p.reference.gamma in file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.005486630368978]