Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.001854/0.001854, allocations: 118 kB / 18.45 MB, free: 4.566 MB / 14.72 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.00228/0.00228, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 207.6 MB / 231.8 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 47.94 kB / 342.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09008/0.09181, allocations: 49.13 MB / 391.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005352/0.09716, allocations: 3.757 MB / 395.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.1001, allocations: 1.484 MB / 396.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.1003, allocations: 12 kB / 396.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.1022, allocations: 0.7662 MB / 397.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.1032, allocations: 405.9 kB / 397.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.1044, allocations: 0.5488 MB / 398.4 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006428/0.105, allocations: 497.8 kB / 398.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005677/0.1056, allocations: 302 kB / 399.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.1059, allocations: 223.1 kB / 399.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.1064, allocations: 278.9 kB / 399.6 MB, free: 428 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/0.1064, allocations: 44 kB / 399.7 MB, free: 384 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.1069, allocations: 211.8 kB / 399.9 MB, free: 172 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.672e-05/0.107, allocations: 111.5 kB / 400 MB, free: 60 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003048/0.1073, allocations: 250.7 kB / 400.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009299/0.1082, allocations: 0.6966 MB / 400.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1082, allocations: 4 kB / 401 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1082, allocations: 0 / 401 MB, free: 15.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1082, allocations: 0 / 401 MB, free: 15.11 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002241/0.1105, allocations: 0.951 MB / 401.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1105, allocations: 8.031 kB / 401.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.1107, allocations: 104 kB / 402 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004293/0.115, allocations: 0.5898 MB / 402.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00068/0.1157, allocations: 319.6 kB / 402.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.813e-05/0.1157, allocations: 37.69 kB / 403 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.1158, allocations: 72.06 kB / 403 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.1169, allocations: 0.557 MB / 403.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.117, allocations: 0 / 403.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/0.117, allocations: 24 kB / 403.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.117, allocations: 16 kB / 403.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.1183, allocations: 0.6375 MB / 404.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/0.1215, allocations: 2.031 MB / 406.3 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003199/0.1247, allocations: 2.977 MB / 409.3 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/0.1251, allocations: 194 kB / 409.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.1252, allocations: 89.53 kB / 409.5 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.1252, allocations: 42.88 kB / 409.6 MB, free: 5.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.815e-06/0.1252, allocations: 4 kB / 409.6 MB, free: 5.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.002042/0.1273, allocations: 0.7973 MB / 410.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.1273, allocations: 59.84 kB / 410.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.1276, allocations: 201.1 kB / 410.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.1276, allocations: 33.7 kB / 410.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.1278, allocations: 248.8 kB / 410.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.1279, allocations: 174.5 kB / 411.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.1281, allocations: 98.19 kB / 411.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1282, allocations: 334.8 kB / 411.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.1285, allocations: 161 kB / 411.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004222/0.129, allocations: 277.9 kB / 411.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000754/0.1297, allocations: 456.5 kB / 412.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.1297, allocations: 4 kB / 412.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00113/0.1309, allocations: 0.5784 MB / 413 MB, free: 2.094 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1309, allocations: 16.25 kB / 413 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.1309, allocations: 8 kB / 413 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003594/0.1312, allocations: 92.73 kB / 413.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/0.1317, allocations: 107.8 kB / 413.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.1339, allocations: 2.045 MB / 415.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.1343, allocations: 59.61 kB / 415.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.1343, allocations: 23.94 kB / 415.3 MB, free: 15.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002189/0.1345, allocations: 165.7 kB / 415.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.1346, allocations: 31.8 kB / 415.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.1357, allocations: 0.5551 MB / 416.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.1357, allocations: 12 kB / 416.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1357, allocations: 0 / 416.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1357, allocations: 3.984 kB / 416.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.1375, allocations: 1.131 MB / 417.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1375, allocations: 0 / 417.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/0.1379, allocations: 83.89 kB / 417.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002776/0.1381, allocations: 80.81 kB / 417.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.1382, allocations: 15.98 kB / 417.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.1404, allocations: 2.039 MB / 419.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.1404, allocations: 4 kB / 419.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.1419, allocations: 0.805 MB / 420.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/0.142, allocations: 112.8 kB / 420.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.142, allocations: 8 kB / 420.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.1422, allocations: 19.98 kB / 420.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.968e-05/0.1423, allocations: 40.27 kB / 420.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.1424, allocations: 24.11 kB / 420.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.1425, allocations: 143.1 kB / 420.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1425, allocations: 8 kB / 420.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006367/0.1431, allocations: 155.7 kB / 420.7 MB, free: 9.926 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_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 (44): * Single equations (assignments): 43 * Array equations: 0 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001872/0.145, allocations: 1.372 MB / 422.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.1462, allocations: 0.5658 MB / 422.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1462, allocations: 0.8125 kB / 422.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.1468, allocations: 365 kB / 423 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1471, allocations: 27.94 kB / 423.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/0.1525, allocations: 3.627 MB / 426.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.153, allocations: 0.8172 MB / 427.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001972/0.1532, allocations: 51.27 kB / 427.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.1534, allocations: 151.4 kB / 427.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1534, allocations: 0 / 427.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03757/0.191, allocations: 7.966 MB / 435.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.28, allocations: 3.984 kB / 435.7 MB, free: 10.67 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inductor.pin_p.reference.gamma in file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv. Warning: Get data of variable inductor.pin_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.798057809006423]