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.00135/0.00135, allocations: 84.33 kB / 21.99 MB, free: 4.754 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.001436/0.001436, allocations: 153.8 kB / 25.24 MB, free: 2.746 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.291/1.291, allocations: 158.6 MB / 187 MB, free: 6.344 MB / 174.1 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") [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.001868/0.001868, allocations: 51.92 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2025, allocations: 49.13 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.00513/0.2077, allocations: 3.417 MB / 351.9 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.2103, allocations: 1.387 MB / 353.3 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.2104, allocations: 15.94 kB / 353.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.2124, allocations: 0.7352 MB / 354.1 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009747/0.2133, allocations: 405.9 kB / 354.5 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.2145, allocations: 0.5254 MB / 355 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005569/0.215, allocations: 485.9 kB / 355.5 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006044/0.2156, allocations: 362.1 kB / 355.8 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.216, allocations: 223.1 kB / 356 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003631/0.2163, allocations: 250.9 kB / 356.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.022e-05/0.2164, allocations: 44 kB / 356.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.2168, allocations: 195.8 kB / 356.5 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.2169, allocations: 115.5 kB / 356.6 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.2171, allocations: 207 kB / 356.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008753/0.218, allocations: 0.7066 MB / 357.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.218, allocations: 0 / 357.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.218, allocations: 0 / 357.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.218, allocations: 4 kB / 357.5 MB, free: 6.457 MB / 318.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.002249/0.2202, allocations: 0.8641 MB / 358.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2203, allocations: 15.98 kB / 358.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004627/0.2249, allocations: 0.5859 MB / 359 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.2254, allocations: 261.8 kB / 359.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.2255, allocations: 41.69 kB / 359.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-05/0.2256, allocations: 56.38 kB / 359.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.2266, allocations: 0.5821 MB / 359.9 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.2267, allocations: 0 / 359.9 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/0.2267, allocations: 24 kB / 360 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.2267, allocations: 16 kB / 360 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.2279, allocations: 0.6297 MB / 360.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.231, allocations: 1.575 MB / 362.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.2328, allocations: 0.6397 MB / 362.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.2332, allocations: 194.3 kB / 363 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.642e-05/0.2332, allocations: 8.5 kB / 363 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.2333, allocations: 39.06 kB / 363 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 1.833e-06/0.2333, allocations: 0 / 363 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.002029/0.2353, allocations: 0.7199 MB / 363.8 MB, free: 76 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.2354, allocations: 63.97 kB / 363.8 MB, free: 16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.2356, allocations: 195.1 kB / 364 MB, free: 15.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.2356, allocations: 33.7 kB / 364.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.2358, allocations: 248.7 kB / 364.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.2359, allocations: 178.5 kB / 364.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.2361, allocations: 94.28 kB / 364.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.2363, allocations: 334.8 kB / 364.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.2366, allocations: 161.2 kB / 365 MB, free: 14.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.237, allocations: 275 kB / 365.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008119/0.2378, allocations: 457.8 kB / 365.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.2379, allocations: 4 kB / 365.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001248/0.2391, allocations: 0.5876 MB / 366.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.2391, allocations: 7.984 kB / 366.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.567e-06/0.2391, allocations: 4 kB / 366.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003908/0.2395, allocations: 101.1 kB / 366.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/0.24, allocations: 107.9 kB / 366.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.2423, allocations: 1.896 MB / 368.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.2426, allocations: 59.55 kB / 368.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.2427, allocations: 20.19 kB / 368.5 MB, free: 11.05 MB / 334.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.0002071/0.2429, allocations: 165.7 kB / 368.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.2429, allocations: 31.8 kB / 368.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.2441, allocations: 0.5565 MB / 369.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2441, allocations: 4 kB / 369.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2441, allocations: 7.938 kB / 369.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.2441, allocations: 7.984 kB / 369.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.2459, allocations: 0.9645 MB / 370.3 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2459, allocations: 3.938 kB / 370.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.2463, allocations: 79.89 kB / 370.4 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002755/0.2465, allocations: 84.81 kB / 370.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.2466, allocations: 15.98 kB / 370.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.2487, allocations: 1.895 MB / 372.4 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2487, allocations: 3.938 kB / 372.4 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.2502, allocations: 0.7991 MB / 373.2 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.2503, allocations: 35.7 kB / 373.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.2503, allocations: 16.12 kB / 373.2 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.2506, allocations: 23.98 kB / 373.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.2507, allocations: 36.44 kB / 373.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.2507, allocations: 15.98 kB / 373.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.2508, allocations: 135.5 kB / 373.4 MB, free: 5.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2508, allocations: 192 / 373.4 MB, free: 5.988 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000625/0.2514, allocations: 155.7 kB / 373.6 MB, free: 5.836 MB / 334.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.0002346/0.2517, allocations: 143 kB / 373.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.2528, allocations: 0.5632 MB / 374.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2528, allocations: 0 / 374.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006273/0.2535, allocations: 362.2 kB / 374.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.2538, allocations: 35.88 kB / 374.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.2554, allocations: 0.8613 MB / 375.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.2556, allocations: 209.1 kB / 375.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001898/0.2558, allocations: 50.95 kB / 375.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.754e-05/0.2559, allocations: 36.48 kB / 375.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2559, allocations: 0 / 375.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of Templates: time 0.01001/0.2659, allocations: 4.256 MB / 380.1 MB, free: 15.24 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.259772459976375]