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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 104.3 kB / 18.39 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 188.2 kB / 19.33 MB, free: 3.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 47.94 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07408/0.07527, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004673/0.07997, allocations: 3.75 MB / 379.6 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1552/0.2352, allocations: 1.457 MB / 381 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004491/0.2357, allocations: 9.625 kB / 381 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.2374, allocations: 0.7553 MB / 381.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.2387, allocations: 0.5622 MB / 382.3 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.2395, allocations: 424.5 kB / 382.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006376/0.2402, allocations: 491.6 kB / 383.2 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007086/0.2409, allocations: 391.1 kB / 383.6 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004291/0.2413, allocations: 216.5 kB / 383.8 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.2417, allocations: 285.4 kB / 384.1 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.2418, allocations: 43.5 kB / 384.1 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004951/0.2423, allocations: 210.1 kB / 384.4 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.722e-05/0.2424, allocations: 111.7 kB / 384.5 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.2426, allocations: 250.2 kB / 384.7 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007749/0.2434, allocations: 0.7017 MB / 385.4 MB, free: 8.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2434, allocations: 0.75 kB / 385.4 MB, free: 8.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2434, allocations: 0 / 385.4 MB, free: 8.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.2434, allocations: 1.094 kB / 385.4 MB, free: 8.898 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.002055/0.2455, allocations: 0.9356 MB / 386.3 MB, free: 8.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2455, allocations: 9.469 kB / 386.4 MB, free: 8.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00435/0.2499, allocations: 0.5885 MB / 386.9 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.2504, allocations: 308.6 kB / 387.2 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.2504, allocations: 46.09 kB / 387.3 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.873e-05/0.2505, allocations: 57.12 kB / 387.3 MB, free: 7.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000962/0.2515, allocations: 0.5559 MB / 387.9 MB, free: 7.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.2515, allocations: 1.125 kB / 387.9 MB, free: 7.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/0.2516, allocations: 24.75 kB / 387.9 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.2516, allocations: 14.84 kB / 387.9 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.2527, allocations: 0.6366 MB / 388.6 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.2554, allocations: 2.032 MB / 390.6 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.2574, allocations: 3.009 MB / 393.6 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.2578, allocations: 224.2 kB / 393.8 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.554e-05/0.2579, allocations: 97.56 kB / 393.9 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.2579, allocations: 38.09 kB / 394 MB, free: 2.684 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.124e-06/0.2579, allocations: 0 / 394 MB, free: 2.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001797/0.2597, allocations: 0.7949 MB / 394.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.2598, allocations: 61.12 kB / 394.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.2599, allocations: 198.2 kB / 395 MB, free: 2.133 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.26, allocations: 35.89 kB / 395.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.44e-05/0.2601, allocations: 244.2 kB / 395.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.928e-05/0.2602, allocations: 168.9 kB / 395.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.2603, allocations: 98.38 kB / 395.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.2604, allocations: 337.4 kB / 395.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.2607, allocations: 158.6 kB / 396 MB, free: 1.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.261, allocations: 276.5 kB / 396.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006179/0.2616, allocations: 465.7 kB / 396.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2617, allocations: 1.281 kB / 396.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001014/0.2627, allocations: 0.5832 MB / 397.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2627, allocations: 5.719 kB / 397.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2627, allocations: 7.344 kB / 397.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/0.2631, allocations: 91.17 kB / 397.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.2635, allocations: 107.6 kB / 397.6 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.2655, allocations: 2.04 MB / 399.6 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.2658, allocations: 57.3 kB / 399.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.2659, allocations: 25.47 kB / 399.7 MB, free: 14.7 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.0002545/0.2661, allocations: 168.5 kB / 399.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.09e-05/0.2662, allocations: 29.72 kB / 399.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.2673, allocations: 0.5546 MB / 400.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.2674, allocations: 9.781 kB / 400.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2674, allocations: 1.312 kB / 400.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2674, allocations: 7.656 kB / 400.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.2691, allocations: 1.138 MB / 401.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2691, allocations: 0 / 401.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.2694, allocations: 78.94 kB / 401.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002656/0.2697, allocations: 86.91 kB / 401.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.2697, allocations: 11.41 kB / 401.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.2716, allocations: 2.035 MB / 403.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2716, allocations: 0 / 403.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.273, allocations: 0.7971 MB / 404.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.014e-05/0.2731, allocations: 116.4 kB / 404.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.2732, allocations: 10.69 kB / 404.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.2734, allocations: 23.59 kB / 404.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.2735, allocations: 34.16 kB / 404.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.2735, allocations: 20.83 kB / 404.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.2737, allocations: 145.2 kB / 404.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2737, allocations: 0 / 404.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000662/0.2744, allocations: 161.2 kB / 405.1 MB, free: 11.05 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.0002214/0.2746, allocations: 136.9 kB / 405.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.2757, allocations: 0.594 MB / 405.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2757, allocations: 192 / 405.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005888/0.2763, allocations: 385.8 kB / 406.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.2767, allocations: 32.52 kB / 406.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.2782, allocations: 0.8758 MB / 407.1 MB, free: 9.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.2785, allocations: 0.8149 MB / 407.9 MB, free: 9.215 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.2787, allocations: 42.83 kB / 408 MB, free: 9.199 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2787, allocations: 5.125 kB / 408 MB, free: 9.195 MB / 334.1 MB Notification: Performance of Templates: time 0.008702/0.2874, allocations: 6.696 MB / 414.7 MB, free: 6.078 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) 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) Reference file matches