Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.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.001871/0.001871, allocations: 113.2 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.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.002392/0.002392, allocations: 214.9 kB / 23.74 MB, free: 4.656 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 8.023 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: translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 47.92 kB / 378.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2754, allocations: 53.36 MB / 431.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004515/0.2799, allocations: 2.933 MB / 434.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.2813, allocations: 0.7205 MB / 435.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.2815, allocations: 11.94 kB / 435.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.2817, allocations: 63.36 kB / 435.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.2819, allocations: 87.27 kB / 435.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.2822, allocations: 91.75 kB / 435.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004325/0.2826, allocations: 382.8 kB / 435.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.2829, allocations: 124.8 kB / 436 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003713/0.2833, allocations: 155.5 kB / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.2835, allocations: 159.3 kB / 436.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.316e-05/0.2836, allocations: 32 kB / 436.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.655e-05/0.2836, allocations: 36 kB / 436.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.2837, allocations: 79.75 kB / 436.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.2838, allocations: 167.1 kB / 436.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000451/0.2843, allocations: 387.6 kB / 437 MB, free: 1.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2843, allocations: 0 / 437 MB, free: 1.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2843, allocations: 0 / 437 MB, free: 1.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.2843, allocations: 0 / 437 MB, free: 1.5 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001031/0.2853, allocations: 0.5521 MB / 437.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2854, allocations: 8.031 kB / 437.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.2855, allocations: 40.7 kB / 437.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.2859, allocations: 206.7 kB / 437.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.2859, allocations: 25.03 kB / 437.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/0.2859, allocations: 40.38 kB / 437.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.2865, allocations: 286.4 kB / 438.2 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.2865, allocations: 0 / 438.2 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.2865, allocations: 8 kB / 438.2 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.2866, allocations: 8 kB / 438.2 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.287, allocations: 210.5 kB / 438.4 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.2887, allocations: 0.9915 MB / 439.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.2891, allocations: 154.5 kB / 439.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.2893, allocations: 117.1 kB / 439.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.2894, allocations: 7.891 kB / 439.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.2894, allocations: 38.56 kB / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.804e-06/0.2894, allocations: 4 kB / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006056/0.29, allocations: 220.5 kB / 439.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.2901, allocations: 55.41 kB / 440 MB, free: 14.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.2903, allocations: 227 kB / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.2903, allocations: 29.7 kB / 440.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.2905, allocations: 188.4 kB / 440.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/0.2905, allocations: 87.33 kB / 440.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.92e-05/0.2906, allocations: 45.98 kB / 440.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2908, allocations: 334.8 kB / 440.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.291, allocations: 68.52 kB / 440.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.2912, allocations: 151.2 kB / 441.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.2916, allocations: 225.1 kB / 441.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.2916, allocations: 4 kB / 441.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005182/0.2921, allocations: 273.1 kB / 441.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.2921, allocations: 4 kB / 441.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2921, allocations: 4 kB / 441.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.2921, allocations: 4 kB / 441.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.2925, allocations: 75.89 kB / 441.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.2925, allocations: 7.938 kB / 441.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.2927, allocations: 36.02 kB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.2927, allocations: 12 kB / 441.7 MB, free: 12.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.2928, allocations: 141.8 kB / 441.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.2929, allocations: 23.8 kB / 441.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004342/0.2933, allocations: 195.3 kB / 442.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2933, allocations: 4 kB / 442.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2933, allocations: 0 / 442.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2933, allocations: 4 kB / 442.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008994/0.2942, allocations: 0.577 MB / 442.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2942, allocations: 0 / 442.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.2945, allocations: 51.97 kB / 442.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.2945, allocations: 0 / 442.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.2945, allocations: 8 kB / 442.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2945, allocations: 4.062 kB / 442.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2945, allocations: 4 kB / 442.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006845/0.2952, allocations: 375.4 kB / 443.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.2953, allocations: 31.8 kB / 443.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.2953, allocations: 8.062 kB / 443.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2955, allocations: 15.98 kB / 443.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.2955, allocations: 11.97 kB / 443.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.2956, allocations: 8 kB / 443.2 MB, free: 11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.2957, allocations: 152.6 kB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2957, allocations: 0 / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003764/0.2961, allocations: 79.78 kB / 443.4 MB, free: 10.78 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001573/0.2962, allocations: 119.1 kB / 443.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004372/0.2967, allocations: 167.7 kB / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2967, allocations: 0 / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.2969, allocations: 86.86 kB / 443.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.2972, allocations: 36.23 kB / 443.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.2987, allocations: 0.8524 MB / 444.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.2992, allocations: 0.7636 MB / 445.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.155e-05/0.2993, allocations: 29.92 kB / 445.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.2993, allocations: 23.44 kB / 445.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2993, allocations: 0 / 445.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of Templates: time 0.006759/0.3061, allocations: 2.225 MB / 447.7 MB, free: 6.441 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.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: 4.715837254887447]