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.0008648/0.0008648, 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.000908/0.000908, 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.9109/0.9109, allocations: 177 MB / 204.1 MB, free: 5.754 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.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 2.264e-06/2.264e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.18e-05, allocations: 2.984 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01185/0.01188, allocations: 14.27 MB / 338.8 MB, free: 1.559 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006619/0.0185, allocations: 4.04 MB / 342.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.01988, allocations: 163.2 kB / 343 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006497/0.02638, allocations: 7.334 MB / 350.3 MB, free: 5.988 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.02909, allocations: 1.374 MB / 351.7 MB, free: 4.605 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.03068, allocations: 1.219 MB / 352.9 MB, free: 3.387 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005428/0.0361, allocations: 8.589 MB / 361.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01377/0.04987, allocations: 14.26 MB / 375.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005893/0.05576, allocations: 7.322 MB / 383.1 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003953/0.05971, allocations: 4.632 MB / 387.7 MB, free: 348 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009576/0.06067, allocations: 1.383 MB / 389.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.06236, allocations: 1.66 MB / 390.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001594/0.06395, allocations: 2.634 MB / 393.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002183/0.06614, allocations: 3.486 MB / 396.9 MB, free: 7.164 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.08161, allocations: 18.53 MB / 415.4 MB, free: 4.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.08162, allocations: 4 kB / 415.4 MB, free: 4.578 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.08163, allocations: 0 / 415.4 MB, free: 4.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000518/0.08214, allocations: 0 / 415.4 MB, free: 4.578 MB / 378.7 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.02204/0.1042, allocations: 10.47 MB / 425.9 MB, free: 10.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.1042, allocations: 11.98 kB / 425.9 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003102/0.1073, allocations: 1.298 MB / 427.2 MB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.1178, allocations: 3.71 MB / 430.9 MB, free: 5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.1282, allocations: 5.433 MB / 436.3 MB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007608/0.129, allocations: 0.6824 MB / 437 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00276/0.1317, allocations: 0.8906 MB / 437.9 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02516/0.1569, allocations: 12.81 MB / 450.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002151/0.1571, allocations: 7.953 kB / 450.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001715/0.1588, allocations: 380 kB / 451.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002958/0.1591, allocations: 395.1 kB / 451.5 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1693/0.3284, allocations: 11.4 MB / 462.9 MB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04109/0.3695, allocations: 38.99 MB / 0.4901 GB, free: 64.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004368/0.3739, allocations: 4.166 MB / 0.4942 GB, free: 60.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.3751, allocations: 1.534 MB / 0.4957 GB, free: 58.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.3753, allocations: 73.92 kB / 0.4958 GB, free: 58.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3753, allocations: 56.56 kB / 0.4958 GB, free: 58.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=223): time 5.32e-06/0.3753, allocations: 0 / 0.4958 GB, free: 58.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.004979/0.3803, allocations: 4.594 MB / 0.5003 GB, free: 54.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.3804, allocations: 73.41 kB / 0.5004 GB, free: 54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.3829, allocations: 3.069 MB / 0.5034 GB, free: 50.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.383, allocations: 65.53 kB / 0.5034 GB, free: 50.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009107/0.3839, allocations: 3.961 MB / 0.5073 GB, free: 46.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.3843, allocations: 0.8161 MB / 0.5081 GB, free: 46.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006944/0.385, allocations: 0.9527 MB / 0.509 GB, free: 45.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.674e-05/0.385, allocations: 309.1 kB / 0.5093 GB, free: 44.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.3866, allocations: 1.976 MB / 0.5112 GB, free: 42.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.3886, allocations: 4.169 MB / 0.5153 GB, free: 37.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/0.3927, allocations: 6.513 MB / 0.5217 GB, free: 30.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.875e-05/0.3927, allocations: 23.94 kB / 0.5217 GB, free: 30 MB / 410.7 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.006152/0.3989, allocations: 6.528 MB / 0.5281 GB, free: 23.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.3989, allocations: 36 kB / 0.5281 GB, free: 23.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.581e-05/0.399, allocations: 79.98 kB / 0.5282 GB, free: 23.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005472/0.3995, allocations: 404.6 kB / 0.5286 GB, free: 22.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.4012, allocations: 1.061 MB / 0.5296 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.404, allocations: 4.213 MB / 0.5337 GB, free: 17.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.4057, allocations: 0.6286 MB / 0.5343 GB, free: 16.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.4059, allocations: 260 kB / 0.5346 GB, free: 16.67 MB / 410.7 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.002951/0.4089, allocations: 3.372 MB / 0.5379 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/0.4092, allocations: 290.2 kB / 0.5382 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/0.4122, allocations: 3.569 MB / 0.5416 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002176/0.4144, allocations: 2.807 MB / 0.5444 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4144, allocations: 7.938 kB / 0.5444 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.4144, allocations: 11.95 kB / 0.5444 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009854/0.4242, allocations: 9.593 MB / 0.5538 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.4242, allocations: 4 kB / 0.5538 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008402/0.4251, allocations: 411.4 kB / 0.5542 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004579/0.4255, allocations: 313.4 kB / 0.5545 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.4256, allocations: 59.92 kB / 0.5545 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/0.429, allocations: 4.034 MB / 0.5585 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.429, allocations: 4 kB / 0.5585 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005184/0.4341, allocations: 5.146 MB / 0.5635 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009524/0.4351, allocations: 0.5522 MB / 0.564 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.4353, allocations: 44 kB / 0.5641 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/0.4359, allocations: 135.8 kB / 0.5642 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.4361, allocations: 153.7 kB / 0.5643 GB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.453e-05/0.4362, allocations: 71.97 kB / 0.5644 GB, free: 1.898 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002157/0.4384, allocations: 1.962 MB / 0.5663 GB, free: 15.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4384, allocations: 0 / 0.5663 GB, free: 15.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004373/0.4427, allocations: 1.984 MB / 0.5683 GB, free: 13.94 MB / 442.7 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.006053/0.4488, allocations: 5.801 MB / 0.5739 GB, free: 8.098 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005445/0.4542, allocations: 4.44 MB / 0.5783 GB, free: 3.656 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4542, allocations: 0 / 0.5783 GB, free: 3.656 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/0.4562, allocations: 1.626 MB / 0.5799 GB, free: 2.016 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.4582, allocations: 0.6738 MB / 0.5805 GB, free: 1.359 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05022/0.5085, allocations: 40.2 MB / 0.6198 GB, free: 6.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004591/0.513, allocations: 5.176 MB / 0.6248 GB, free: 1.281 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.1399/0.6529, allocations: 1.69 MB / 0.6265 GB, free: 178.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003638/0.6565, allocations: 2.744 MB / 0.6292 GB, free: 177.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.994e-06/0.6565, allocations: 0 / 0.6292 GB, free: 177.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09214/0.7487, allocations: 91.75 MB / 0.7188 GB, free: 100.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.142/9.891, allocations: 7.984 kB / 0.7188 GB, free: 100.2 MB / 490.7 MB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/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: 11.708087503910065]