Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008624/0.0008624, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9154/0.9154, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 3.938 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.748e-06/1.096e-05, allocations: 4.812 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01009/0.0101, allocations: 14.27 MB / 338.9 MB, free: 1.578 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007093/0.0172, allocations: 4.029 MB / 342.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.01908, allocations: 167.2 kB / 343 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006632/0.02572, allocations: 7.336 MB / 350.4 MB, free: 6.016 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002849/0.02857, allocations: 1.369 MB / 351.7 MB, free: 4.641 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.03021, allocations: 1.218 MB / 353 MB, free: 3.426 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005907/0.03612, allocations: 8.585 MB / 361.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01394/0.05006, allocations: 14.25 MB / 375.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006808/0.05686, allocations: 7.318 MB / 383.1 MB, free: 5.031 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004235/0.0611, allocations: 4.639 MB / 387.8 MB, free: 392 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001426/0.06253, allocations: 1.383 MB / 389.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003046/0.06557, allocations: 1.667 MB / 390.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001887/0.06746, allocations: 2.63 MB / 393.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004385/0.07184, allocations: 3.482 MB / 396.9 MB, free: 7.207 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.08499, allocations: 18.54 MB / 415.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.085, allocations: 0 / 415.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.085, allocations: 0 / 415.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002693/0.08527, allocations: 0 / 415.5 MB, free: 4.617 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.01407/0.09934, allocations: 10.47 MB / 425.9 MB, free: 10.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.09939, allocations: 15.97 kB / 425.9 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001418/0.1008, allocations: 1.291 MB / 427.2 MB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009053/0.1099, allocations: 3.714 MB / 430.9 MB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007038/0.1169, allocations: 5.433 MB / 436.4 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/0.1172, allocations: 0.6824 MB / 437.1 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001133/0.1184, allocations: 0.8867 MB / 438 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.1335, allocations: 12.82 MB / 450.8 MB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.1336, allocations: 7.953 kB / 450.8 MB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005793/0.1342, allocations: 376 kB / 451.1 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002164/0.1344, allocations: 395.1 kB / 451.5 MB, free: 356 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2601/0.3945, allocations: 11.41 MB / 462.9 MB, free: 101.6 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03525/0.4297, allocations: 39 MB / 0.4902 GB, free: 62.68 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004206/0.434, allocations: 4.161 MB / 0.4942 GB, free: 58.78 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.4352, allocations: 1.534 MB / 0.4957 GB, free: 57.25 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.4353, allocations: 77.69 kB / 0.4958 GB, free: 57.17 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.4353, allocations: 55.03 kB / 0.4959 GB, free: 57.11 MB / 410.8 MB Notification: Performance of pre-optimization done (n=223): time 4.148e-06/0.4353, allocations: 0 / 0.4959 GB, free: 57.11 MB / 410.8 MB Notification: Performance of matching and sorting (n=223): time 0.004707/0.44, allocations: 4.602 MB / 0.5004 GB, free: 52.52 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.4401, allocations: 77.41 kB / 0.5004 GB, free: 52.43 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.4423, allocations: 3.068 MB / 0.5034 GB, free: 49.44 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.104e-05/0.4424, allocations: 65.64 kB / 0.5035 GB, free: 49.37 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008957/0.4433, allocations: 3.959 MB / 0.5074 GB, free: 45.77 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.4436, allocations: 0.819 MB / 0.5082 GB, free: 44.96 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007071/0.4443, allocations: 0.9488 MB / 0.5091 GB, free: 44 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.656e-05/0.4443, allocations: 305.1 kB / 0.5094 GB, free: 43.7 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.4459, allocations: 1.98 MB / 0.5113 GB, free: 41.71 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/0.4479, allocations: 4.164 MB / 0.5154 GB, free: 36.49 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003877/0.4518, allocations: 6.517 MB / 0.5217 GB, free: 28.93 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-05/0.4518, allocations: 24 kB / 0.5218 GB, free: 28.9 MB / 410.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.005654/0.4574, allocations: 6.524 MB / 0.5281 GB, free: 22.37 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.4575, allocations: 42.97 kB / 0.5282 GB, free: 22.33 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.208e-05/0.4575, allocations: 72 kB / 0.5282 GB, free: 22.26 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000529/0.4581, allocations: 408.7 kB / 0.5286 GB, free: 21.86 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.4596, allocations: 1.072 MB / 0.5297 GB, free: 20.78 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.4623, allocations: 4.202 MB / 0.5338 GB, free: 16.46 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.4642, allocations: 0.6325 MB / 0.5344 GB, free: 15.82 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.4643, allocations: 252 kB / 0.5346 GB, free: 15.57 MB / 410.8 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.002875/0.4672, allocations: 3.376 MB / 0.5379 GB, free: 12.18 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/0.4675, allocations: 282.2 kB / 0.5382 GB, free: 11.91 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/0.4706, allocations: 3.573 MB / 0.5417 GB, free: 8.305 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002169/0.4727, allocations: 2.811 MB / 0.5444 GB, free: 5.488 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4727, allocations: 4 kB / 0.5444 GB, free: 5.484 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.4727, allocations: 15.95 kB / 0.5445 GB, free: 5.469 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009337/0.4821, allocations: 9.593 MB / 0.5538 GB, free: 11.84 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4821, allocations: 0 / 0.5538 GB, free: 11.84 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008378/0.4829, allocations: 419.4 kB / 0.5542 GB, free: 11.43 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004183/0.4833, allocations: 313.1 kB / 0.5545 GB, free: 11.12 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.641e-05/0.4834, allocations: 55.91 kB / 0.5546 GB, free: 11.07 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003114/0.4865, allocations: 4.038 MB / 0.5585 GB, free: 6.93 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4865, allocations: 4 kB / 0.5585 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004688/0.4912, allocations: 5.13 MB / 0.5635 GB, free: 1.758 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000765/0.492, allocations: 0.5599 MB / 0.5641 GB, free: 1.195 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.4922, allocations: 39.98 kB / 0.5641 GB, free: 1.156 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005904/0.4928, allocations: 135.8 kB / 0.5642 GB, free: 1.023 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.4929, allocations: 153.7 kB / 0.5644 GB, free: 0.8711 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.468e-05/0.493, allocations: 67.98 kB / 0.5645 GB, free: 0.8047 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001847/0.4949, allocations: 1.963 MB / 0.5664 GB, free: 14.83 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4949, allocations: 4.062 kB / 0.5664 GB, free: 14.82 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.003467/0.4983, allocations: 1.988 MB / 0.5683 GB, free: 12.83 MB / 442.8 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.005306/0.5036, allocations: 5.809 MB / 0.574 GB, free: 6.98 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006136/0.5098, allocations: 4.437 MB / 0.5783 GB, free: 2.543 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5098, allocations: 3.938 kB / 0.5783 GB, free: 2.539 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.5116, allocations: 1.615 MB / 0.5799 GB, free: 0.9102 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.5137, allocations: 0.6822 MB / 0.5806 GB, free: 252 kB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04352/0.5573, allocations: 40.21 MB / 0.6198 GB, free: 5.383 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004435/0.5617, allocations: 5.172 MB / 0.6249 GB, free: 172 kB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.1439/0.7056, allocations: 1.69 MB / 0.6265 GB, free: 167.8 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003503/0.7091, allocations: 2.742 MB / 0.6292 GB, free: 167.1 MB / 490.8 MB Notification: Performance of SimCode: time 1.803e-06/0.7091, allocations: 0 / 0.6292 GB, free: 167.1 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08795/0.7971, allocations: 91.77 MB / 0.7188 GB, free: 88.51 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.55/10.35, allocations: 3.094 kB / 0.7188 GB, free: 88.51 MB / 490.8 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.163696054369211]