Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc.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.001491/0.001491, allocations: 116 kB / 21.18 MB, free: 0.6289 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.001393/0.001393, allocations: 213.7 kB / 24.48 MB, free: 4.035 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.417/1.417, 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.Analog.Examples.ControlledSwitchWithArc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|inductor1.i|inductor2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc") translateModel(Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|inductor1.i|inductor2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc") [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.00196/0.00196, allocations: 75.81 kB / 378.8 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2418, allocations: 53.31 MB / 432.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc): time 0.005253/0.2471, allocations: 3.194 MB / 435.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.2486, allocations: 0.8256 MB / 436.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.2487, allocations: 8 kB / 436.1 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.2489, allocations: 55.42 kB / 436.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.2491, allocations: 103 kB / 436.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.2495, allocations: 127.7 kB / 436.4 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.2499, allocations: 418.2 kB / 436.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.2501, allocations: 99.7 kB / 436.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.2504, allocations: 167.4 kB / 437 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.2507, allocations: 175.2 kB / 437.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.2507, allocations: 36 kB / 437.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.533e-05/0.2508, allocations: 36 kB / 437.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.974e-05/0.2509, allocations: 83.69 kB / 437.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.2511, allocations: 191.1 kB / 437.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005117/0.2516, allocations: 432.2 kB / 438 MB, free: 1.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2516, allocations: 4 kB / 438 MB, free: 1.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2516, allocations: 0 / 438 MB, free: 1.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.2516, allocations: 0 / 438 MB, free: 1.477 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001147/0.2528, allocations: 0.6545 MB / 438.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2528, allocations: 16.03 kB / 438.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.253, allocations: 56.62 kB / 438.7 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.2534, allocations: 289.3 kB / 439 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.552e-05/0.2535, allocations: 76.62 kB / 439.1 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.2536, allocations: 36.31 kB / 439.1 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.2542, allocations: 338.9 kB / 439.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2542, allocations: 3.938 kB / 439.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.2542, allocations: 12 kB / 439.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.2542, allocations: 8 kB / 439.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.2547, allocations: 218.5 kB / 439.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.2568, allocations: 1.368 MB / 441 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.2571, allocations: 154.5 kB / 441.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.2573, allocations: 88.75 kB / 441.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.2573, allocations: 4 kB / 441.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/0.2576, allocations: 153.9 kB / 441.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.693e-06/0.2576, allocations: 0 / 441.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001172/0.2588, allocations: 406.2 kB / 441.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.2589, allocations: 110.8 kB / 441.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.2592, allocations: 262.7 kB / 442.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.2592, allocations: 29.7 kB / 442.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.2594, allocations: 216.2 kB / 442.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.747e-05/0.2594, allocations: 75.38 kB / 442.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/0.2595, allocations: 62.03 kB / 442.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2597, allocations: 342.8 kB / 442.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.2599, allocations: 76.62 kB / 443 MB, free: 12.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.2601, allocations: 177.4 kB / 443.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.2605, allocations: 243.6 kB / 443.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2605, allocations: 0 / 443.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007192/0.2612, allocations: 344.2 kB / 443.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2612, allocations: 8 kB / 443.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2613, allocations: 4 kB / 443.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/0.2615, allocations: 57.16 kB / 443.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.2618, allocations: 67.84 kB / 443.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.2633, allocations: 1.569 MB / 445.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.2636, allocations: 51.91 kB / 445.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.2636, allocations: 8 kB / 445.5 MB, free: 9.414 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 8 (switch2.tSwitch,$PRE.switch2.tSwitch,switch2.quenched,$PRE.switch2.quenched,switch2.off,$PRE.switch2.off,switch1.off,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002197/0.2638, allocations: 152.7 kB / 445.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.2639, allocations: 27.86 kB / 445.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.2639, allocations: 34.11 kB / 445.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.2639, allocations: 3.984 kB / 445.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2639, allocations: 4 kB / 445.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.264, allocations: 120.8 kB / 445.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.2641, allocations: 7.984 kB / 445.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.2643, allocations: 19.92 kB / 445.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.2644, allocations: 23.91 kB / 445.9 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006481/0.2651, allocations: 293.7 kB / 446.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008397/0.2659, allocations: 453.6 kB / 446.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001465/0.266, allocations: 71.94 kB / 446.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001925/0.2662, allocations: 190 kB / 446.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of Backend: time 4.11e-07/0.2662, allocations: 0 / 446.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009027/0.2671, allocations: 320.9 kB / 447.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of SimCode: time 0.001346/0.2685, allocations: 1.1 MB / 448.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of Templates: time 0.008331/0.2768, allocations: 3.523 MB / 451.8 MB, free: 3.012 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ControlledSwitchWithArc/ControlledSwitchWithArc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc.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.349414187017828]