Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.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.001285/0.001285, allocations: 81.47 kB / 21.25 MB, free: 0.5469 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.00132/0.00132, allocations: 159.1 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 177.1 MB / 204.7 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002522/0.002522, allocations: 57.31 kB / 325.5 MB, free: 176 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1245, allocations: 53.39 MB / 378.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004495/0.129, allocations: 2.706 MB / 381.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1303, allocations: 0.6855 MB / 382.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.1305, allocations: 11.94 kB / 382.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.1307, allocations: 59.42 kB / 382.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.1309, allocations: 87.2 kB / 382.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.1312, allocations: 95.81 kB / 382.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.1316, allocations: 378.9 kB / 382.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.1319, allocations: 112.8 kB / 383 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.1322, allocations: 167.4 kB / 383.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.1324, allocations: 139.3 kB / 383.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/0.1324, allocations: 32 kB / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.544e-05/0.1325, allocations: 32 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/0.1325, allocations: 75.75 kB / 383.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.1327, allocations: 139.4 kB / 383.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004298/0.1331, allocations: 382.4 kB / 384 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1331, allocations: 4 kB / 384 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1331, allocations: 0 / 384 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1331, allocations: 0 / 384 MB, free: 10.34 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001018/0.1342, allocations: 0.5482 MB / 384.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1342, allocations: 11.98 kB / 384.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.612e-05/0.1343, allocations: 40.7 kB / 384.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.1347, allocations: 213.9 kB / 384.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.1347, allocations: 24.97 kB / 384.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.77e-05/0.1348, allocations: 36.38 kB / 384.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005954/0.1354, allocations: 337.8 kB / 385.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1354, allocations: 0 / 385.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.1354, allocations: 8 kB / 385.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1354, allocations: 8 kB / 385.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004974/0.1359, allocations: 214.5 kB / 385.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.1375, allocations: 0.8603 MB / 386.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.1378, allocations: 150.5 kB / 386.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.1381, allocations: 124 kB / 386.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.1381, allocations: 0 / 386.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.1382, allocations: 46.44 kB / 386.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 9.72e-07/0.1382, allocations: 0 / 386.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006137/0.1388, allocations: 224.7 kB / 386.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.1389, allocations: 55.41 kB / 386.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1391, allocations: 191.2 kB / 387 MB, free: 7.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.1391, allocations: 33.7 kB / 387.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.1393, allocations: 200.2 kB / 387.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.316e-05/0.1393, allocations: 71.38 kB / 387.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.29e-05/0.1394, allocations: 53.98 kB / 387.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.1396, allocations: 330.8 kB / 387.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.1398, allocations: 64.53 kB / 387.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.14, allocations: 159.5 kB / 387.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.1405, allocations: 225.2 kB / 388.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1405, allocations: 0 / 388.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005106/0.141, allocations: 269.2 kB / 388.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.141, allocations: 11.94 kB / 388.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.141, allocations: 3.984 kB / 388.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.141, allocations: 8.031 kB / 388.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.1413, allocations: 76.16 kB / 388.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.1413, allocations: 4 kB / 388.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.1415, allocations: 31.77 kB / 388.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.1415, allocations: 16 kB / 388.6 MB, free: 5.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.1417, allocations: 137.8 kB / 388.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.1417, allocations: 23.78 kB / 388.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.1422, allocations: 195.3 kB / 388.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1422, allocations: 4 kB / 388.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1422, allocations: 7.984 kB / 388.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1422, allocations: 0 / 388.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007901/0.143, allocations: 0.4995 MB / 389.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.143, allocations: 4 kB / 389.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.1433, allocations: 51.91 kB / 389.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.1433, allocations: 4 kB / 389.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.1433, allocations: 7.984 kB / 389.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1433, allocations: 8.062 kB / 389.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1433, allocations: 0 / 389.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.1439, allocations: 380.1 kB / 389.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.144, allocations: 19.84 kB / 389.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.144, allocations: 11.98 kB / 389.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.1442, allocations: 19.98 kB / 389.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.1442, allocations: 11.92 kB / 389.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.1443, allocations: 8 kB / 389.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1444, allocations: 144.5 kB / 390.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1444, allocations: 0 / 390.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003548/0.1447, allocations: 83.73 kB / 390.2 MB, free: 3.801 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00013/0.1449, allocations: 103.4 kB / 390.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004256/0.1453, allocations: 172.2 kB / 390.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1453, allocations: 0 / 390.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.1455, allocations: 79.83 kB / 390.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.1458, allocations: 31.22 kB / 390.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1472, allocations: 0.8329 MB / 391.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.1474, allocations: 163.1 kB / 391.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.568e-05/0.1475, allocations: 21.94 kB / 391.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.1475, allocations: 20.5 kB / 391.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1475, allocations: 0 / 391.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of Templates: time 0.005625/0.1531, allocations: 1.805 MB / 393.4 MB, free: 0.5547 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.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.61505079397466]