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.00124/0.00124, allocations: 114 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 68.09 kB / 306.4 MB, free: 0.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1282, allocations: 50.53 MB / 357 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007434/0.1356, allocations: 5.379 MB / 362.4 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.1394, allocations: 1.5 MB / 363.9 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006768/0.1401, allocations: 23.88 kB / 363.9 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.1406, allocations: 166.6 kB / 364 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005911/0.1412, allocations: 154.6 kB / 364.2 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1423, allocations: 363.6 kB / 364.5 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.1438, allocations: 1.122 MB / 365.7 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008424/0.1446, allocations: 488.2 kB / 366.1 MB, free: 5.164 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007143/0.1454, allocations: 406.2 kB / 366.5 MB, free: 4.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005379/0.1459, allocations: 425.6 kB / 367 MB, free: 4.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.1461, allocations: 84 kB / 367 MB, free: 4.266 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.1463, allocations: 107.9 kB / 367.1 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.1465, allocations: 207.1 kB / 367.3 MB, free: 3.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004377/0.1469, allocations: 0.501 MB / 367.8 MB, free: 3.453 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.1481, allocations: 1.133 MB / 369 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1481, allocations: 0 / 369 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1481, allocations: 0 / 369 MB, free: 2.316 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.1481, allocations: 0 / 369 MB, free: 2.316 MB / 302.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.001868/0.15, allocations: 1.315 MB / 370.3 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.5e-05/0.1501, allocations: 12.03 kB / 370.3 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003827/0.1505, allocations: 150.4 kB / 370.5 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00083/0.1513, allocations: 0.6224 MB / 371.1 MB, free: 124 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.885e-05/0.1514, allocations: 77.94 kB / 371.2 MB, free: 48 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.251/0.4024, allocations: 94.52 kB / 371.2 MB, free: 20.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.4047, allocations: 1.034 MB / 372.3 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/0.4048, allocations: 5.453 kB / 372.3 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.687e-05/0.4049, allocations: 41.59 kB / 372.3 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.4049, allocations: 27.41 kB / 372.3 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.4062, allocations: 0.5561 MB / 372.9 MB, free: 19.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004815/0.411, allocations: 5.524 MB / 378.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.4116, allocations: 231.1 kB / 378.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.4119, allocations: 160 kB / 378.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.4122, allocations: 90.08 kB / 378.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.4122, allocations: 36.75 kB / 378.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 2.895e-06/0.4122, allocations: 1.219 kB / 378.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004015/0.4162, allocations: 1.713 MB / 380.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.4163, allocations: 86.02 kB / 380.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007729/0.4171, allocations: 0.6392 MB / 381.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.4171, allocations: 31.11 kB / 381.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.4175, allocations: 0.6023 MB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.424e-05/0.4176, allocations: 143.3 kB / 382.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.4177, allocations: 139.3 kB / 382.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.4178, allocations: 387.5 kB / 382.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/0.4182, allocations: 155.4 kB / 382.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.4186, allocations: 0.4906 MB / 383.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007482/0.4194, allocations: 0.7042 MB / 384 MB, free: 11.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.4194, allocations: 3.969 kB / 384 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001114/0.4205, allocations: 0.7085 MB / 384.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.4205, allocations: 10.31 kB / 384.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.4206, allocations: 12.84 kB / 384.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/0.4206, allocations: 16.97 kB / 384.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/0.4212, allocations: 202.7 kB / 385 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.067e-05/0.4213, allocations: 29.61 kB / 385 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.4216, allocations: 33.28 kB / 385 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.4217, allocations: 39.62 kB / 385.1 MB, free: 10.97 MB / 302.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.000288/0.422, allocations: 226.4 kB / 385.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.4221, allocations: 75.89 kB / 385.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.4223, allocations: 80.94 kB / 385.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.4223, allocations: 8.594 kB / 385.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.4223, allocations: 4.266 kB / 385.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.4223, allocations: 3.188 kB / 385.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.4246, allocations: 1.319 MB / 386.8 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4246, allocations: 5.188 kB / 386.8 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004871/0.4251, allocations: 103.6 kB / 386.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.4251, allocations: 3.156 kB / 386.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.4251, allocations: 18.39 kB / 386.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.4252, allocations: 3.531 kB / 386.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4252, allocations: 2.656 kB / 386.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.4262, allocations: 0.702 MB / 387.6 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.4263, allocations: 137.1 kB / 387.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.85e-05/0.4264, allocations: 14.08 kB / 387.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.4267, allocations: 24.14 kB / 387.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.4268, allocations: 32.72 kB / 387.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.4268, allocations: 10.38 kB / 387.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005521/0.4274, allocations: 430.1 kB / 388.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4274, allocations: 0 / 388.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007786/0.4282, allocations: 138 kB / 388.4 MB, free: 9.125 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.0001445/0.4283, allocations: 114.2 kB / 388.5 MB, free: 9.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008684/0.4292, allocations: 450.3 kB / 388.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4292, allocations: 0 / 388.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.4295, allocations: 167 kB / 389.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.4301, allocations: 84.12 kB / 389.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.4333, allocations: 2.107 MB / 391.3 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/0.434, allocations: 1.002 MB / 392.3 MB, free: 6.629 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004416/0.4344, allocations: 97.55 kB / 392.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.4346, allocations: 64.55 kB / 392.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4347, allocations: 0 / 392.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of Templates: time 0.01214/0.4468, allocations: 4.877 MB / 397.3 MB, free: 4.633 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches