Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 190.2 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.6 MB / 252.5 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 47.92 kB / 370.4 MB, free: 9.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3045, allocations: 52.19 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.006516/0.311, allocations: 3.731 MB / 426.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002969/0.314, allocations: 1.441 MB / 427.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004858/0.3145, allocations: 11.94 kB / 427.8 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002215/0.3167, allocations: 0.7695 MB / 428.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.3182, allocations: 0.5481 MB / 429.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009177/0.3191, allocations: 417.5 kB / 429.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006065/0.3197, allocations: 470 kB / 430 MB, free: 7.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007109/0.3204, allocations: 426.6 kB / 430.4 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.3208, allocations: 223.2 kB / 430.6 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.3211, allocations: 274.9 kB / 430.9 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.597e-05/0.3212, allocations: 44 kB / 430.9 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.3216, allocations: 211.8 kB / 431.2 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.3217, allocations: 107.6 kB / 431.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.322, allocations: 238.8 kB / 431.5 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008836/0.3228, allocations: 0.6965 MB / 432.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.3228, allocations: 0 / 432.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3229, allocations: 0 / 432.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.3229, allocations: 0 / 432.2 MB, free: 5.035 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002063/0.3249, allocations: 0.8564 MB / 433 MB, free: 4.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.325, allocations: 8.031 kB / 433.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.3251, allocations: 96.02 kB / 433.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003388/0.3285, allocations: 0.4884 MB / 433.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.3291, allocations: 261.8 kB / 433.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/0.3291, allocations: 37.69 kB / 433.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.858e-05/0.3292, allocations: 56.38 kB / 434 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009667/0.3302, allocations: 0.5296 MB / 434.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.3302, allocations: 3.938 kB / 434.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.3302, allocations: 24 kB / 434.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.3303, allocations: 12 kB / 434.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.3313, allocations: 0.579 MB / 435.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002946/0.3343, allocations: 1.719 MB / 436.8 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.3357, allocations: 0.5462 MB / 437.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.3362, allocations: 234.1 kB / 437.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.966e-05/0.3362, allocations: 16.42 kB / 437.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.3363, allocations: 39 kB / 437.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.475e-06/0.3363, allocations: 0 / 437.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001756/0.338, allocations: 0.6635 MB / 438.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.3381, allocations: 55.84 kB / 438.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.3383, allocations: 190.2 kB / 438.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.3383, allocations: 29.7 kB / 438.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.3385, allocations: 228.9 kB / 438.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.3386, allocations: 166.6 kB / 439 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.3388, allocations: 90.14 kB / 439.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3389, allocations: 334.8 kB / 439.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.3392, allocations: 156.9 kB / 439.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.3396, allocations: 237.9 kB / 439.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006779/0.3403, allocations: 408.9 kB / 440.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3403, allocations: 3.938 kB / 440.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00103/0.3413, allocations: 0.5356 MB / 440.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.3413, allocations: 7.281 kB / 440.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3414, allocations: 4 kB / 440.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003568/0.3417, allocations: 81.05 kB / 440.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.3421, allocations: 95.89 kB / 440.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.3441, allocations: 1.678 MB / 442.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.3444, allocations: 55.61 kB / 442.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.3444, allocations: 16 kB / 442.7 MB, free: 10.15 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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.0002545/0.3447, allocations: 165.8 kB / 442.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.3447, allocations: 27.8 kB / 442.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.3459, allocations: 0.5394 MB / 443.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3459, allocations: 8 kB / 443.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3459, allocations: 3.938 kB / 443.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.3459, allocations: 3.984 kB / 443.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.3477, allocations: 1.116 MB / 444.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3477, allocations: 0 / 444.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.348, allocations: 75.91 kB / 444.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/0.3483, allocations: 84.84 kB / 444.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.3483, allocations: 12 kB / 444.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.3501, allocations: 1.664 MB / 446.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3501, allocations: 0 / 446.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.3514, allocations: 0.7952 MB / 447.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.3515, allocations: 35.78 kB / 447.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.3515, allocations: 16.05 kB / 447.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.3518, allocations: 20 kB / 447.2 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.851e-05/0.3519, allocations: 40.38 kB / 447.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.3519, allocations: 16 kB / 447.3 MB, free: 5.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.352, allocations: 140.2 kB / 447.4 MB, free: 5.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.352, allocations: 0 / 447.4 MB, free: 5.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005771/0.3526, allocations: 151.7 kB / 447.6 MB, free: 5.023 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 (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,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.001847/0.3545, allocations: 1.375 MB / 448.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.3556, allocations: 0.5386 MB / 449.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3556, allocations: 0 / 449.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006143/0.3562, allocations: 361.7 kB / 449.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.3566, allocations: 41.67 kB / 449.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005004/0.3616, allocations: 3.456 MB / 453.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.3621, allocations: 0.8006 MB / 454.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.3623, allocations: 50.95 kB / 454.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.3625, allocations: 139.4 kB / 454.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3625, allocations: 0 / 454.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04552/0.408, allocations: 7.988 MB / 462.3 MB, free: 6.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.99, allocations: 0 / 462.3 MB, free: 6.199 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.351506980136037]