Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001814/0.001814, allocations: 114.3 kB / 21.18 MB, free: 0.6211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00171/0.00171, allocations: 210.3 kB / 24.48 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.401/1.401, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2046, allocations: 53.31 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005236/0.2099, allocations: 3.745 MB / 435.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.2124, allocations: 1.522 MB / 437.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.2127, allocations: 12 kB / 437.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.2145, allocations: 0.7461 MB / 438.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009458/0.2155, allocations: 401.9 kB / 438.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.2165, allocations: 0.5562 MB / 439 MB, free: 392 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005268/0.2171, allocations: 462 kB / 439.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006299/0.2177, allocations: 375.8 kB / 439.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/0.218, allocations: 215.2 kB / 440.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003415/0.2183, allocations: 278.9 kB / 440.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.198e-05/0.2184, allocations: 44 kB / 440.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003829/0.2188, allocations: 215.8 kB / 440.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.466e-05/0.2189, allocations: 111.6 kB / 440.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.2191, allocations: 234.9 kB / 440.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008228/0.2199, allocations: 0.7083 MB / 441.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2199, allocations: 0 / 441.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2199, allocations: 0 / 441.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.2199, allocations: 0 / 441.6 MB, free: 13.77 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.002143/0.2221, allocations: 0.9311 MB / 442.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2221, allocations: 8.031 kB / 442.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/0.2257, allocations: 480.1 kB / 443 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.2262, allocations: 299.8 kB / 443.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.2262, allocations: 41.67 kB / 443.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.504e-05/0.2263, allocations: 56.38 kB / 443.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009788/0.2273, allocations: 0.5298 MB / 444 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.2273, allocations: 3.938 kB / 444 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-05/0.2273, allocations: 20 kB / 444 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.2274, allocations: 19.94 kB / 444 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.2285, allocations: 0.5829 MB / 444.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003022/0.2315, allocations: 1.951 MB / 446.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.2338, allocations: 2.127 MB / 448.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005298/0.2343, allocations: 233 kB / 448.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.2345, allocations: 182.6 kB / 449.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.2345, allocations: 35 kB / 449.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.593e-06/0.2345, allocations: 0 / 449.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001865/0.2364, allocations: 0.7428 MB / 449.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.2364, allocations: 59.78 kB / 449.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.2366, allocations: 182.9 kB / 450.1 MB, free: 4.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.2366, allocations: 37.7 kB / 450.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.2368, allocations: 232.9 kB / 450.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.2369, allocations: 162.5 kB / 450.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.237, allocations: 90.23 kB / 450.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2372, allocations: 330.8 kB / 450.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.2375, allocations: 153.1 kB / 451.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.2379, allocations: 242.5 kB / 451.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007336/0.2386, allocations: 416.9 kB / 451.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.2386, allocations: 7.938 kB / 451.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00109/0.2397, allocations: 0.5316 MB / 452.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2398, allocations: 8 kB / 452.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2398, allocations: 4 kB / 452.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.2401, allocations: 85.08 kB / 452.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.2405, allocations: 91.83 kB / 452.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.2424, allocations: 1.782 MB / 454.2 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.2427, allocations: 47.73 kB / 454.3 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.2427, allocations: 19.98 kB / 454.3 MB, free: 188 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.2429, allocations: 165.7 kB / 454.4 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/0.243, allocations: 27.86 kB / 454.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.2442, allocations: 0.5317 MB / 455 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.2442, allocations: 7.922 kB / 455 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2442, allocations: 4 kB / 455 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/0.2443, allocations: 112.8 kB / 455.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.2443, allocations: 11.94 kB / 455.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.2446, allocations: 19.98 kB / 455.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/0.2446, allocations: 40.38 kB / 455.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001176/0.2458, allocations: 0.5433 MB / 455.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001148/0.247, allocations: 0.7364 MB / 456.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002985/0.2473, allocations: 155.3 kB / 456.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.2474, allocations: 131.2 kB / 456.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Backend: time 3.81e-07/0.2474, allocations: 0 / 456.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.2487, allocations: 0.5578 MB / 457.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of SimCode: time 0.001367/0.25, allocations: 1.205 MB / 458.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of Templates: time 0.01226/0.2623, allocations: 6.6 MB / 465.1 MB, free: 5.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.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.298705361317843]