Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.0017/0.0017, allocations: 115.6 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.002078/0.002078, 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.415/1.415, allocations: 207.6 MB / 231.8 MB, free: 4.02 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.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",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.001751/0.001751, allocations: 55.92 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.09135, allocations: 49.13 MB / 391.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005271/0.09662, allocations: 3.757 MB / 395.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.09961, allocations: 1.488 MB / 396.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.09992, allocations: 8 kB / 396.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.1021, allocations: 0.7779 MB / 397.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.1034, allocations: 397.9 kB / 397.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.1047, allocations: 0.5527 MB / 398.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008386/0.1056, allocations: 493.8 kB / 398.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007531/0.1063, allocations: 374 kB / 399.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.1067, allocations: 231.1 kB / 399.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.1071, allocations: 286.9 kB / 399.7 MB, free: 336 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.64e-05/0.1071, allocations: 44 kB / 399.8 MB, free: 292 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005727/0.1077, allocations: 211.8 kB / 400 MB, free: 80 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.1078, allocations: 123.5 kB / 400.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.1081, allocations: 250.8 kB / 400.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.1092, allocations: 0.716 MB / 401.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1092, allocations: 0 / 401.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1092, allocations: 4 kB / 401.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.1093, allocations: 0 / 401.1 MB, free: 14.99 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.002317/0.1116, allocations: 0.9588 MB / 402 MB, free: 13.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1116, allocations: 8.031 kB / 402 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/0.1118, allocations: 104 kB / 402.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004412/0.1162, allocations: 0.5899 MB / 402.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.1167, allocations: 319.6 kB / 403 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/0.1168, allocations: 45.69 kB / 403.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.1169, allocations: 72.02 kB / 403.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.118, allocations: 0.5687 MB / 403.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.118, allocations: 0 / 403.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.1181, allocations: 24 kB / 403.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.1181, allocations: 16 kB / 403.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.1193, allocations: 0.6493 MB / 404.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.1226, allocations: 2.052 MB / 406.5 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/0.1255, allocations: 2.966 MB / 409.4 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/0.126, allocations: 242 kB / 409.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-05/0.1261, allocations: 89.53 kB / 409.8 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.1261, allocations: 42.92 kB / 409.8 MB, free: 5.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 1.813e-06/0.1261, allocations: 4 kB / 409.8 MB, free: 5.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001912/0.128, allocations: 0.7466 MB / 410.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1281, allocations: 59.84 kB / 410.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.1283, allocations: 201 kB / 410.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.1284, allocations: 33.7 kB / 410.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.1285, allocations: 252.8 kB / 411.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.1287, allocations: 174.5 kB / 411.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.1288, allocations: 98.23 kB / 411.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.129, allocations: 330.8 kB / 411.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.1293, allocations: 165 kB / 411.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.1298, allocations: 291.6 kB / 412.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/0.1305, allocations: 466.2 kB / 412.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.1305, allocations: 4 kB / 412.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001171/0.1317, allocations: 0.5827 MB / 413.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1317, allocations: 8 kB / 413.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.1317, allocations: 4 kB / 413.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003694/0.1321, allocations: 84.8 kB / 413.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.1326, allocations: 115.8 kB / 413.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.1346, allocations: 1.785 MB / 415.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.1349, allocations: 55.62 kB / 415.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/0.1349, allocations: 27.98 kB / 415.2 MB, free: 15.67 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002268/0.1352, allocations: 173.7 kB / 415.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.1352, allocations: 23.86 kB / 415.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.1364, allocations: 0.5434 MB / 416 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1364, allocations: 4 kB / 416 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1364, allocations: 8 kB / 416 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1364, allocations: 3.984 kB / 416 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.1383, allocations: 1.179 MB / 417.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.1383, allocations: 0 / 417.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.1387, allocations: 83.84 kB / 417.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002977/0.139, allocations: 76.8 kB / 417.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.139, allocations: 12 kB / 417.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.1409, allocations: 1.775 MB / 419.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1409, allocations: 0 / 419.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.1423, allocations: 0.8146 MB / 419.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.366e-05/0.1424, allocations: 112.8 kB / 420 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.1424, allocations: 12 kB / 420 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.1427, allocations: 15.98 kB / 420.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.434e-05/0.1428, allocations: 40.33 kB / 420.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.1428, allocations: 12 kB / 420.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.143, allocations: 151.2 kB / 420.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.143, allocations: 4 kB / 420.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005679/0.1435, allocations: 151.7 kB / 420.4 MB, free: 10.22 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (46): * Single equations (assignments): 45 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001873/0.1454, allocations: 1.394 MB / 421.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.1465, allocations: 0.5662 MB / 422.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1465, allocations: 0 / 422.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006226/0.1472, allocations: 360.9 kB / 422.7 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.1475, allocations: 44.59 kB / 422.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005459/0.153, allocations: 3.681 MB / 426.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/0.1535, allocations: 0.8133 MB / 427.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002099/0.1537, allocations: 59.25 kB / 427.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.1539, allocations: 139.4 kB / 427.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1539, allocations: 3.938 kB / 427.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03934/0.1932, allocations: 7.973 MB / 435.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.6, allocations: 15.77 kB / 435.5 MB, free: 10.84 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_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_ParallelResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor.pin_p.reference.gamma in file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.csv. Warning: Get data of variable resistor.pin_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.979895158990985]