Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001281/0.001281, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001351/0.001351, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 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 1.475/1.475, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 55.91 kB / 373 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1019, allocations: 53.33 MB / 426.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005157/0.107, allocations: 3.73 MB / 430 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1894/0.2964, allocations: 1.495 MB / 431.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002589/0.2967, allocations: 9.125 kB / 431.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.2984, allocations: 0.7574 MB / 432.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008334/0.2992, allocations: 388.8 kB / 432.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008791/0.3001, allocations: 0.5574 MB / 433.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.3005, allocations: 468.9 kB / 433.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005145/0.301, allocations: 366.6 kB / 434.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.3013, allocations: 230.9 kB / 434.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.3016, allocations: 273.4 kB / 434.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.247e-05/0.3016, allocations: 44.97 kB / 434.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003821/0.302, allocations: 214.9 kB / 434.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.3021, allocations: 107.9 kB / 434.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.3022, allocations: 238 kB / 435.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007713/0.303, allocations: 0.7029 MB / 435.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.303, allocations: 2.438 kB / 435.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.303, allocations: 3.469 kB / 435.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.303, allocations: 0 / 435.9 MB, free: 7.02 MB / 350.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.002103/0.3051, allocations: 0.9227 MB / 436.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3052, allocations: 10.39 kB / 436.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.3053, allocations: 102.6 kB / 436.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003502/0.3088, allocations: 471 kB / 437.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.3093, allocations: 310.5 kB / 437.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.3093, allocations: 39.19 kB / 437.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-05/0.3094, allocations: 55.91 kB / 437.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.3105, allocations: 0.5374 MB / 438.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.3105, allocations: 5.797 kB / 438.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.3105, allocations: 20.53 kB / 438.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.3106, allocations: 13.25 kB / 438.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.3116, allocations: 0.5862 MB / 438.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002898/0.3145, allocations: 1.967 MB / 440.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.3164, allocations: 2.117 MB / 443 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/0.3169, allocations: 230.1 kB / 443.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.317, allocations: 178.8 kB / 443.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.3171, allocations: 39.55 kB / 443.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.944e-06/0.3171, allocations: 4.5 kB / 443.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001805/0.3189, allocations: 0.7454 MB / 444.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.3189, allocations: 56.44 kB / 444.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.319, allocations: 188.6 kB / 444.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3191, allocations: 36.02 kB / 444.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.3192, allocations: 223.6 kB / 444.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.15e-05/0.3193, allocations: 172.8 kB / 444.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.3194, allocations: 82.08 kB / 444.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.3194, allocations: 340.9 kB / 445.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.3197, allocations: 147.7 kB / 445.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.3201, allocations: 240.7 kB / 445.6 MB, free: 404 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006459/0.3207, allocations: 422.1 kB / 446 MB, free: 144 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3207, allocations: 4 kB / 446 MB, free: 140 kB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001093/0.3218, allocations: 0.5415 MB / 446.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3218, allocations: 12.73 kB / 446.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3219, allocations: 2.188 kB / 446.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/0.3222, allocations: 78.81 kB / 446.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.3226, allocations: 98.81 kB / 446.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.3246, allocations: 1.774 MB / 448.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.3249, allocations: 47.16 kB / 448.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.3249, allocations: 23.61 kB / 448.6 MB, free: 14.23 MB / 366.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.0002192/0.3252, allocations: 163 kB / 448.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.3252, allocations: 28.38 kB / 448.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.3264, allocations: 0.5421 MB / 449.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3264, allocations: 6.719 kB / 449.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3264, allocations: 2.438 kB / 449.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.3264, allocations: 6.656 kB / 449.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.3283, allocations: 1.139 MB / 450.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3283, allocations: 1.938 kB / 450.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.3286, allocations: 82.77 kB / 450.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002652/0.3289, allocations: 75.88 kB / 450.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.3289, allocations: 19.69 kB / 450.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.3308, allocations: 1.768 MB / 452.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.3308, allocations: 6.953 kB / 452.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.3322, allocations: 0.8061 MB / 453.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.279e-05/0.3323, allocations: 107.9 kB / 453.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.3323, allocations: 10.91 kB / 453.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.3326, allocations: 16.73 kB / 453.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/0.3327, allocations: 42.89 kB / 453.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.3327, allocations: 18.48 kB / 453.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.3328, allocations: 138.8 kB / 453.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3328, allocations: 0 / 453.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005963/0.3334, allocations: 153.8 kB / 453.7 MB, free: 10.8 MB / 366.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.001915/0.3353, allocations: 1.386 MB / 455.1 MB, free: 9.816 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.3365, allocations: 0.545 MB / 455.7 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3365, allocations: 1.688 kB / 455.7 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006005/0.3371, allocations: 359.7 kB / 456 MB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.3375, allocations: 38.73 kB / 456.1 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005117/0.3426, allocations: 3.445 MB / 459.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.3431, allocations: 0.8063 MB / 460.3 MB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.3433, allocations: 47.88 kB / 460.4 MB, free: 6.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.3435, allocations: 134.9 kB / 460.5 MB, free: 6.246 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3435, allocations: 1.062 kB / 460.5 MB, free: 6.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.3814, allocations: 7.752 MB / 468.2 MB, free: 3.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.62, allocations: 10.52 kB / 468.3 MB, free: 3.168 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 12.990334653994069]