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.001291/0.001291, allocations: 114 kB / 20.43 MB, free: 1.457 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.001485/0.001485, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.479/1.479, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.001936/0.001936, allocations: 63.91 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2921, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.0204/0.3125, allocations: 16.61 MB / 447.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009464/0.3219, allocations: 4.173 MB / 452 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003226/0.3252, allocations: 163.2 kB / 452.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01722/0.3424, allocations: 7.513 MB / 459.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006107/0.3485, allocations: 1.351 MB / 461 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003964/0.3524, allocations: 1.277 MB / 462.3 MB, free: 7.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01217/0.3646, allocations: 8.304 MB / 470.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02642/0.391, allocations: 14.37 MB / 484.9 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008816/0.3998, allocations: 4.91 MB / 489.9 MB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009978/0.4098, allocations: 5.357 MB / 495.2 MB, free: 6.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004173/0.414, allocations: 1.383 MB / 496.6 MB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00548/0.4195, allocations: 1.672 MB / 498.3 MB, free: 3.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004098/0.4236, allocations: 2.584 MB / 0.4891 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008823/0.4324, allocations: 5.222 MB / 0.4942 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02349/0.4559, allocations: 18.36 MB / 0.5121 GB, free: 8.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.4559, allocations: 0 / 0.5121 GB, free: 8.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4559, allocations: 0 / 0.5121 GB, free: 8.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005433/0.4564, allocations: 4 kB / 0.5121 GB, free: 8.992 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.032/0.4884, allocations: 10.55 MB / 0.5225 GB, free: 14.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.4885, allocations: 8.031 kB / 0.5225 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004297/0.4928, allocations: 1.294 MB / 0.5237 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01953/0.5123, allocations: 3.71 MB / 0.5273 GB, free: 9.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/0.5255, allocations: 5.433 MB / 0.5327 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000849/0.5264, allocations: 0.6785 MB / 0.5333 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003411/0.5298, allocations: 0.8867 MB / 0.5342 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4683/0.9981, allocations: 12.73 MB / 0.5466 GB, free: 84.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002886/0.9984, allocations: 11.59 kB / 0.5466 GB, free: 84.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002352/1.001, allocations: 375.2 kB / 0.547 GB, free: 83.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003937/1.001, allocations: 400.2 kB / 0.5474 GB, free: 83.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02322/1.024, allocations: 11.43 MB / 0.5585 GB, free: 78.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06503/1.089, allocations: 42.37 MB / 0.5999 GB, free: 35.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007072/1.096, allocations: 4.212 MB / 0.604 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/1.098, allocations: 1.536 MB / 0.6055 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/1.098, allocations: 78.75 kB / 0.6056 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/1.098, allocations: 60 kB / 0.6056 GB, free: 30.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 3.918e-06/1.098, allocations: 0 / 0.6056 GB, free: 30.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007129/1.105, allocations: 4.598 MB / 0.6101 GB, free: 25.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/1.106, allocations: 85.34 kB / 0.6102 GB, free: 25.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003442/1.109, allocations: 2.928 MB / 0.6131 GB, free: 22.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/1.109, allocations: 61.7 kB / 0.6131 GB, free: 22.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001423/1.111, allocations: 3.972 MB / 0.617 GB, free: 18.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004687/1.111, allocations: 0.8352 MB / 0.6178 GB, free: 18.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/1.112, allocations: 0.9566 MB / 0.6188 GB, free: 17.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.818e-05/1.112, allocations: 309.1 kB / 0.6191 GB, free: 16.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/1.114, allocations: 1.973 MB / 0.621 GB, free: 14.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002957/1.117, allocations: 4.165 MB / 0.6251 GB, free: 9.598 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005668/1.123, allocations: 6.517 MB / 0.6314 GB, free: 2.035 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-05/1.123, allocations: 23.94 kB / 0.6314 GB, free: 2.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01023/1.133, allocations: 6.528 MB / 0.6378 GB, free: 11.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/1.133, allocations: 36 kB / 0.6379 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00012/1.133, allocations: 76 kB / 0.6379 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009588/1.134, allocations: 417.4 kB / 0.6383 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003505/1.138, allocations: 1.065 MB / 0.6394 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005826/1.144, allocations: 4.283 MB / 0.6435 GB, free: 5.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003605/1.147, allocations: 0.6364 MB / 0.6442 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004812/1.148, allocations: 248 kB / 0.6444 GB, free: 4.613 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.005759/1.153, allocations: 3.373 MB / 0.6477 GB, free: 1.227 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006687/1.154, allocations: 282.2 kB / 0.648 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006306/1.16, allocations: 3.569 MB / 0.6514 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004483/1.165, allocations: 2.811 MB / 0.6542 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.165, allocations: 4 kB / 0.6542 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/1.165, allocations: 11.95 kB / 0.6542 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01944/1.184, allocations: 9.911 MB / 0.6639 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.184, allocations: 4 kB / 0.6639 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/1.186, allocations: 411.4 kB / 0.6643 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007814/1.187, allocations: 320.7 kB / 0.6646 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/1.187, allocations: 51.98 kB / 0.6646 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005221/1.192, allocations: 4.089 MB / 0.6686 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.974e-06/1.192, allocations: 7.984 kB / 0.6686 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007942/1.2, allocations: 5.146 MB / 0.6737 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/1.202, allocations: 0.5639 MB / 0.6742 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003216/1.202, allocations: 44 kB / 0.6743 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.203, allocations: 123.8 kB / 0.6744 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/1.204, allocations: 157.7 kB / 0.6745 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.204, allocations: 67.98 kB / 0.6746 GB, free: 5.422 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003515/1.207, allocations: 1.971 MB / 0.6765 GB, free: 3.441 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.207, allocations: 0 / 0.6765 GB, free: 3.441 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005651/1.213, allocations: 1.984 MB / 0.6785 GB, free: 1.449 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.008442/1.221, allocations: 5.792 MB / 0.6841 GB, free: 11.61 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.007753/1.229, allocations: 4.44 MB / 0.6884 GB, free: 7.168 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.229, allocations: 4 kB / 0.6884 GB, free: 7.164 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002575/1.232, allocations: 1.619 MB / 0.69 GB, free: 5.535 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/1.235, allocations: 0.6817 MB / 0.6907 GB, free: 4.867 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06859/1.303, allocations: 40.29 MB / 0.73 GB, free: 9.922 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007435/1.311, allocations: 5.645 MB / 0.7356 GB, free: 4.234 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004152/1.315, allocations: 1.694 MB / 0.7372 GB, free: 2.535 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2258/1.541, allocations: 2.737 MB / 0.7399 GB, free: 181.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.363e-06/1.541, allocations: 0.5 kB / 0.7399 GB, free: 181.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1365/1.677, allocations: 94.96 MB / 0.8326 GB, free: 106.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.37/19.05, allocations: 14.91 kB / 0.8326 GB, free: 106.3 MB / 0.545 GB " [Timeout remaining time 641] (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: 21.63236894399961]