Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001847/0.001847, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002293/0.002293, allocations: 209.3 kB / 24.49 MB, free: 3.965 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.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 43.92 kB / 379 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.214, allocations: 53.38 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004813/0.2188, allocations: 3.403 MB / 435.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.221, allocations: 1.386 MB / 437.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.2212, allocations: 12 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.2229, allocations: 0.6954 MB / 437.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008129/0.2237, allocations: 386 kB / 438.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.2247, allocations: 0.5166 MB / 438.7 MB, free: 340 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004747/0.2252, allocations: 466 kB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005238/0.2257, allocations: 363.7 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.226, allocations: 215.2 kB / 439.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.2263, allocations: 263 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.145e-05/0.2263, allocations: 44 kB / 440.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000349/0.2267, allocations: 207.8 kB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.074e-05/0.2268, allocations: 111.5 kB / 440.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.227, allocations: 195.1 kB / 440.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007627/0.2277, allocations: 0.6849 MB / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2277, allocations: 0 / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2277, allocations: 0 / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2277, allocations: 0 / 441.2 MB, free: 13.82 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.002097/0.2298, allocations: 0.8512 MB / 442.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.2299, allocations: 12.02 kB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003666/0.2335, allocations: 472.1 kB / 442.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.2339, allocations: 249.9 kB / 442.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.2339, allocations: 37.69 kB / 442.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.028e-05/0.234, allocations: 52.38 kB / 442.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.235, allocations: 0.5393 MB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.2351, allocations: 7.984 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.516e-05/0.2351, allocations: 20 kB / 443.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.2351, allocations: 15.94 kB / 443.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.2362, allocations: 0.5634 MB / 444 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.2389, allocations: 1.496 MB / 445.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.2404, allocations: 0.5712 MB / 446.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/0.2408, allocations: 182.1 kB / 446.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.71e-05/0.2409, allocations: 20.42 kB / 446.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.2409, allocations: 39 kB / 446.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.864e-06/0.2409, allocations: 0 / 446.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001967/0.2429, allocations: 0.722 MB / 447.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.2429, allocations: 55.84 kB / 447.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.2431, allocations: 174.1 kB / 447.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.2431, allocations: 33.7 kB / 447.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.2433, allocations: 221 kB / 447.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.2434, allocations: 178.5 kB / 447.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.2435, allocations: 86.12 kB / 447.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2437, allocations: 342.8 kB / 448.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.244, allocations: 144.9 kB / 448.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.2444, allocations: 232.2 kB / 448.5 MB, free: 6.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007111/0.2451, allocations: 395.4 kB / 448.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2451, allocations: 4 kB / 448.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00109/0.2462, allocations: 0.5358 MB / 449.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2462, allocations: 4 kB / 449.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2462, allocations: 7.938 kB / 449.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003352/0.2465, allocations: 84.8 kB / 449.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.2469, allocations: 99.83 kB / 449.6 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.249, allocations: 1.884 MB / 451.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.2493, allocations: 47.75 kB / 451.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.2493, allocations: 20.06 kB / 451.6 MB, free: 3.113 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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.0001883/0.2495, allocations: 173.6 kB / 451.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.438e-05/0.2496, allocations: 35.73 kB / 451.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.2507, allocations: 0.531 MB / 452.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2507, allocations: 0 / 452.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2507, allocations: 4.172 kB / 452.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.2508, allocations: 27.73 kB / 452.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.2508, allocations: 19.94 kB / 452.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.251, allocations: 15.98 kB / 452.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/0.2511, allocations: 44.23 kB / 452.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001239/0.2524, allocations: 0.559 MB / 453 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001149/0.2535, allocations: 0.7362 MB / 453.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003055/0.2538, allocations: 159.4 kB / 453.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.2539, allocations: 120.1 kB / 454 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of Backend: time 1.5e-07/0.2539, allocations: 0 / 454 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.2551, allocations: 0.5695 MB / 454.6 MB, free: 68 kB / 350.1 MB Notification: Performance of SimCode: time 0.00134/0.2565, allocations: 1.217 MB / 455.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Templates: time 0.01263/0.2691, allocations: 7.184 MB / 463 MB, free: 7.672 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.421479235999868]