Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.0018/0.0018, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002231/0.002231, allocations: 215.1 kB / 23.73 MB, free: 4.387 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 47.92 kB / 378.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2287, allocations: 53.36 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006626/0.2353, allocations: 4.559 MB / 436.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00361/0.2389, allocations: 1.721 MB / 437.9 MB, free: 440 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005699/0.2395, allocations: 15.94 kB / 437.9 MB, free: 424 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003037/0.2425, allocations: 1.089 MB / 439 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.2445, allocations: 0.6131 MB / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.246, allocations: 0.588 MB / 440.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.2472, allocations: 0.7582 MB / 440.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009845/0.2482, allocations: 0.5199 MB / 441.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006052/0.2488, allocations: 346.6 kB / 441.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006499/0.2494, allocations: 426.3 kB / 442.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.2495, allocations: 64 kB / 442.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005939/0.2501, allocations: 251.8 kB / 442.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.2503, allocations: 163.4 kB / 442.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.2507, allocations: 310.5 kB / 443 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.2521, allocations: 1.034 MB / 444 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2521, allocations: 0 / 444 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2521, allocations: 0 / 444 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.2522, allocations: 0 / 444 MB, free: 10.28 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004131/0.2563, allocations: 1.328 MB / 445.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.2563, allocations: 16.02 kB / 445.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006166/0.2625, allocations: 0.7848 MB / 446.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008083/0.2633, allocations: 346.7 kB / 446.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.2634, allocations: 58.38 kB / 446.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.2635, allocations: 84.12 kB / 446.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.2651, allocations: 0.8189 MB / 447.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.2651, allocations: 7.938 kB / 447.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.381e-05/0.2652, allocations: 32 kB / 447.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.2653, allocations: 27.92 kB / 447.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.267, allocations: 0.8979 MB / 448.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.2711, allocations: 2.198 MB / 450.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.273, allocations: 0.7671 MB / 451.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.2735, allocations: 291.2 kB / 451.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.2736, allocations: 28.62 kB / 451.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.2737, allocations: 39.22 kB / 451.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.955e-06/0.2737, allocations: 0 / 451.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.00381/0.2775, allocations: 1.263 MB / 453 MB, free: 1.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.2775, allocations: 56.06 kB / 453 MB, free: 1.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.2778, allocations: 253 kB / 453.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.2779, allocations: 37.7 kB / 453.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.2781, allocations: 296.6 kB / 453.6 MB, free: 472 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.2783, allocations: 269.7 kB / 453.9 MB, free: 200 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.2785, allocations: 122.6 kB / 454 MB, free: 72 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.2787, allocations: 358.7 kB / 454.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/0.2792, allocations: 233.9 kB / 454.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005897/0.2798, allocations: 362.5 kB / 454.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.2809, allocations: 0.6337 MB / 455.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.2809, allocations: 0 / 455.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0019/0.2828, allocations: 0.8528 MB / 456.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.2829, allocations: 8.312 kB / 456.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2829, allocations: 8 kB / 456.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008439/0.2837, allocations: 204.6 kB / 456.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.2843, allocations: 139.8 kB / 456.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00355/0.2879, allocations: 2.551 MB / 459.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.2883, allocations: 67.55 kB / 459.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.2884, allocations: 27.94 kB / 459.4 MB, free: 10.46 MB / 366.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 (73): * Single equations (assignments): 72 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003076/0.2887, allocations: 209.6 kB / 459.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.703e-05/0.2888, allocations: 39.77 kB / 459.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.2908, allocations: 0.8897 MB / 460.5 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.2908, allocations: 8 kB / 460.5 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2908, allocations: 0 / 460.5 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.2909, allocations: 7.922 kB / 460.6 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/0.2937, allocations: 1.469 MB / 462 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.2937, allocations: 0 / 462 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005374/0.2942, allocations: 111.8 kB / 462.1 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007651/0.295, allocations: 200.7 kB / 462.3 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/0.295, allocations: 20 kB / 462.3 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003396/0.2984, allocations: 2.551 MB / 464.9 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2984, allocations: 0 / 464.9 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.3008, allocations: 1.25 MB / 466.1 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.448e-05/0.3009, allocations: 47.56 kB / 466.2 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/0.301, allocations: 16 kB / 466.2 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.3014, allocations: 27.98 kB / 466.2 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.3015, allocations: 64.47 kB / 466.3 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/0.3015, allocations: 23.98 kB / 466.3 MB, free: 3.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000191/0.3017, allocations: 184.4 kB / 466.5 MB, free: 3.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3017, allocations: 3.938 kB / 466.5 MB, free: 3.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008017/0.3025, allocations: 243.5 kB / 466.7 MB, free: 2.926 MB / 366.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 (63): * Single equations (assignments): 62 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002556/0.3028, allocations: 143.2 kB / 466.9 MB, free: 2.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.3044, allocations: 0.809 MB / 467.7 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3044, allocations: 0 / 467.7 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009121/0.3053, allocations: 0.5098 MB / 468.2 MB, free: 1.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.3057, allocations: 56.61 kB / 468.3 MB, free: 1.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.3078, allocations: 1.168 MB / 469.4 MB, free: 184 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.3081, allocations: 286.8 kB / 469.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002758/0.3083, allocations: 76.38 kB / 469.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.3085, allocations: 47.42 kB / 469.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3085, allocations: 0 / 469.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of Templates: time 0.01524/0.3237, allocations: 8.277 MB / 478.1 MB, free: 7.559 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.974218246061355]