Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 107.1 kB / 18.45 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 207.9 kB / 19.4 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2236, allocations: 50.56 MB / 410 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005809/0.2295, allocations: 5.389 MB / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.2321, allocations: 1.508 MB / 416.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005746/0.2327, allocations: 27.81 kB / 416.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005625/0.2333, allocations: 217.8 kB / 417.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006366/0.2339, allocations: 202 kB / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008317/0.2348, allocations: 411.3 kB / 417.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.236, allocations: 1.138 MB / 418.8 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006653/0.2366, allocations: 488.2 kB / 419.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005594/0.2372, allocations: 402.3 kB / 419.7 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000392/0.2376, allocations: 433.4 kB / 420.1 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.2377, allocations: 84 kB / 420.2 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.2379, allocations: 104 kB / 420.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.2381, allocations: 215.1 kB / 420.5 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003549/0.2384, allocations: 0.4932 MB / 421 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.2395, allocations: 1.19 MB / 422.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2395, allocations: 0 / 422.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2395, allocations: 0 / 422.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.2395, allocations: 0 / 422.2 MB, free: 5.223 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001707/0.2412, allocations: 1.351 MB / 423.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2413, allocations: 8.031 kB / 423.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003173/0.2416, allocations: 151.1 kB / 423.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009027/0.2425, allocations: 0.662 MB / 424.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.2426, allocations: 77.94 kB / 424.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.2427, allocations: 99.98 kB / 424.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.2442, allocations: 1.031 MB / 425.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.2442, allocations: 11.89 kB / 425.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/0.2443, allocations: 44 kB / 425.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.2443, allocations: 24 kB / 425.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.2454, allocations: 0.5578 MB / 426.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0042/0.2496, allocations: 5.498 MB / 431.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/0.2501, allocations: 225 kB / 431.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.2504, allocations: 161.6 kB / 432.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.2506, allocations: 89.09 kB / 432.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2506, allocations: 42.55 kB / 432.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.913e-06/0.2506, allocations: 0 / 432.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003647/0.2542, allocations: 1.745 MB / 434 MB, free: 8.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.2543, allocations: 81.11 kB / 434.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/0.255, allocations: 0.6528 MB / 434.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.255, allocations: 29.7 kB / 434.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.2553, allocations: 0.6162 MB / 435.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.876e-05/0.2554, allocations: 154.7 kB / 435.5 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.2556, allocations: 138.5 kB / 435.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2557, allocations: 386.8 kB / 436 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.2561, allocations: 149.9 kB / 436.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.2566, allocations: 0.497 MB / 436.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008472/0.2574, allocations: 0.6998 MB / 437.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.2574, allocations: 4 kB / 437.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001097/0.2585, allocations: 0.7154 MB / 438.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2586, allocations: 8 kB / 438.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2586, allocations: 16.09 kB / 438.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.2586, allocations: 20 kB / 438.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/0.2593, allocations: 187.7 kB / 438.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/0.2593, allocations: 31.8 kB / 438.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.2596, allocations: 31.98 kB / 438.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.2597, allocations: 40 kB / 438.4 MB, free: 3.988 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0002481/0.2599, allocations: 225.5 kB / 438.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.2601, allocations: 87.48 kB / 438.7 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.2602, allocations: 78.58 kB / 438.8 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.2602, allocations: 3.984 kB / 438.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2602, allocations: 0 / 438.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/0.2603, allocations: 140.5 kB / 438.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/0.2604, allocations: 12 kB / 438.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.2607, allocations: 23.97 kB / 439 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.2608, allocations: 31.88 kB / 439 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009237/0.2617, allocations: 0.5076 MB / 439.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009544/0.2627, allocations: 0.772 MB / 440.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002442/0.2629, allocations: 140 kB / 440.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004188/0.2633, allocations: 431 kB / 440.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of Backend: time 3.51e-07/0.2634, allocations: 3.938 kB / 440.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009694/0.2643, allocations: 422.7 kB / 441.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of SimCode: time 0.002227/0.2666, allocations: 2.1 MB / 443.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of Templates: time 0.01136/0.2779, allocations: 5.723 MB / 449.1 MB, free: 9.215 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches