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.001189/0.001189, allocations: 97.02 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001822, allocations: 192.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.000319, allocations: 8 kB / 307.1 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1499, allocations: 51.53 MB / 358.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005769/0.1558, allocations: 4.624 MB / 363.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002996/0.1588, allocations: 1.45 MB / 364.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005357/0.1594, allocations: 27.81 kB / 364.7 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.1598, allocations: 162.6 kB / 364.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.1603, allocations: 158.6 kB / 365 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007788/0.1611, allocations: 303.6 kB / 365.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.1622, allocations: 1.001 MB / 366.3 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006115/0.1628, allocations: 354.2 kB / 366.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000507/0.1634, allocations: 314.5 kB / 367 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.1638, allocations: 357.9 kB / 367.3 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.076e-05/0.1639, allocations: 44 kB / 367.4 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.164, allocations: 59.94 kB / 367.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.1642, allocations: 151.3 kB / 367.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.1644, allocations: 201.1 kB / 367.8 MB, free: 4.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007368/0.1651, allocations: 0.7832 MB / 368.6 MB, free: 3.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.1651, allocations: 0 / 368.6 MB, free: 3.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1652, allocations: 0 / 368.6 MB, free: 3.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.1652, allocations: 0 / 368.6 MB, free: 3.414 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.001708/0.1669, allocations: 1.138 MB / 369.7 MB, free: 2.227 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1669, allocations: 8.031 kB / 369.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003779/0.1673, allocations: 150.4 kB / 369.9 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009241/0.1683, allocations: 0.5956 MB / 370.5 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/0.1684, allocations: 74 kB / 370.5 MB, free: 1.359 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.1685, allocations: 96 kB / 370.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.1702, allocations: 1.034 MB / 371.7 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.1703, allocations: 7.938 kB / 371.7 MB, free: 104 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.021e-05/0.1704, allocations: 44 kB / 371.7 MB, free: 60 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.1704, allocations: 27.94 kB / 371.7 MB, free: 32 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2216/0.392, allocations: 0.5563 MB / 372.3 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005243/0.3973, allocations: 5.528 MB / 377.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007349/0.3981, allocations: 234.5 kB / 378.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.3985, allocations: 161.6 kB / 378.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/0.3987, allocations: 85.78 kB / 378.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.3988, allocations: 38.67 kB / 378.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 3.176e-06/0.3988, allocations: 1.125 kB / 378.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003966/0.4027, allocations: 1.774 MB / 380.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.4028, allocations: 88.92 kB / 380.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007671/0.4036, allocations: 0.6312 MB / 380.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.4036, allocations: 32.36 kB / 380.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.404, allocations: 0.6013 MB / 381.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.4041, allocations: 140.6 kB / 381.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.4041, allocations: 15.91 kB / 381.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4043, allocations: 392.4 kB / 382 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.4046, allocations: 159.5 kB / 382.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/0.4051, allocations: 0.4935 MB / 382.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/0.4055, allocations: 236 kB / 382.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.4055, allocations: 3.531 kB / 382.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001278/0.4068, allocations: 0.7292 MB / 383.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.4068, allocations: 14.81 kB / 383.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.4069, allocations: 11.75 kB / 383.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.784e-05/0.4069, allocations: 19.56 kB / 383.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006801/0.4076, allocations: 194.6 kB / 383.8 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.736e-05/0.4077, allocations: 27.2 kB / 383.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.408, allocations: 36.56 kB / 383.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.4081, allocations: 45.05 kB / 384 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002864/0.4084, allocations: 233.5 kB / 384.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.4085, allocations: 75.97 kB / 384.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.4086, allocations: 74.67 kB / 384.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.4086, allocations: 8.75 kB / 384.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.4087, allocations: 5.906 kB / 384.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.4087, allocations: 3.078 kB / 384.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.4111, allocations: 1.365 MB / 385.7 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.4111, allocations: 2.594 kB / 385.7 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/0.4116, allocations: 117.7 kB / 385.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.4116, allocations: 4.062 kB / 385.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.4116, allocations: 8.688 kB / 385.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.4117, allocations: 3.953 kB / 385.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4117, allocations: 2.562 kB / 385.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.4128, allocations: 0.722 MB / 386.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.413, allocations: 146.5 kB / 386.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/0.413, allocations: 7.891 kB / 386.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.4133, allocations: 30.56 kB / 386.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.4135, allocations: 26.8 kB / 386.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.4135, allocations: 14.66 kB / 386.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006745/0.4142, allocations: 415.8 kB / 387.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.4142, allocations: 4 kB / 387.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001045/0.4152, allocations: 145.8 kB / 387.3 MB, free: 9.102 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000196/0.4154, allocations: 107 kB / 387.4 MB, free: 9.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.4165, allocations: 446.6 kB / 387.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4165, allocations: 0 / 387.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.4169, allocations: 162.4 kB / 388 MB, free: 8.824 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.4175, allocations: 73.14 kB / 388.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.4205, allocations: 2.103 MB / 390.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006673/0.4212, allocations: 1.001 MB / 391.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003663/0.4215, allocations: 97.22 kB / 391.3 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.4217, allocations: 66.56 kB / 391.4 MB, free: 6.652 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4217, allocations: 1.5 kB / 391.4 MB, free: 6.652 MB / 302.1 MB Notification: Performance of Templates: time 0.01235/0.4341, allocations: 4.537 MB / 395.9 MB, free: 4.98 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