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.002063/0.002063, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002421/0.002421, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.688/1.688, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002017, allocations: 62.92 kB / 307 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1474, allocations: 50.55 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007512/0.155, allocations: 5.391 MB / 362.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.1586, allocations: 1.523 MB / 364.4 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000582/0.1592, allocations: 27.81 kB / 364.5 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.1599, allocations: 221.8 kB / 364.7 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006081/0.1605, allocations: 190 kB / 364.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009504/0.1614, allocations: 419.3 kB / 365.3 MB, free: 6.238 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.1627, allocations: 1.115 MB / 366.4 MB, free: 5.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007354/0.1635, allocations: 484.2 kB / 366.9 MB, free: 4.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006071/0.1641, allocations: 398.3 kB / 367.3 MB, free: 4.238 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005024/0.1646, allocations: 441.5 kB / 367.7 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.1648, allocations: 84 kB / 367.8 MB, free: 3.723 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.165, allocations: 96 kB / 367.9 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.1652, allocations: 219.1 kB / 368.1 MB, free: 3.414 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004472/0.1656, allocations: 0.4932 MB / 368.6 MB, free: 2.918 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.1668, allocations: 1.129 MB / 369.7 MB, free: 1.785 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1668, allocations: 0 / 369.7 MB, free: 1.785 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.1668, allocations: 3.984 kB / 369.7 MB, free: 1.781 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.1668, allocations: 0 / 369.7 MB, free: 1.781 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.002149/0.169, allocations: 1.313 MB / 371 MB, free: 424 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.169, allocations: 12.03 kB / 371 MB, free: 412 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000405/0.1695, allocations: 142.4 kB / 371.2 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2246/0.3941, allocations: 0.6145 MB / 371.8 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.849e-05/0.3942, allocations: 78.5 kB / 371.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.3944, allocations: 97.53 kB / 372 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.3964, allocations: 1.031 MB / 373 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/0.3965, allocations: 8.031 kB / 373 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.294e-05/0.3966, allocations: 45.56 kB / 373 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/0.3966, allocations: 26.38 kB / 373.1 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.3981, allocations: 0.5587 MB / 373.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006607/0.4047, allocations: 5.527 MB / 379.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007004/0.4055, allocations: 230.1 kB / 379.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.4058, allocations: 164.2 kB / 379.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.4061, allocations: 85.44 kB / 379.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.4062, allocations: 37.19 kB / 379.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 3.367e-06/0.4062, allocations: 0 / 379.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004448/0.4106, allocations: 1.721 MB / 381.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.4107, allocations: 81.22 kB / 381.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.4117, allocations: 0.6403 MB / 382.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.4118, allocations: 34.86 kB / 382.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.4122, allocations: 0.5997 MB / 382.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.4123, allocations: 148.1 kB / 382.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.4125, allocations: 139.3 kB / 383 MB, free: 12.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.4127, allocations: 384.5 kB / 383.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.4131, allocations: 152.5 kB / 383.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.4137, allocations: 0.4919 MB / 384 MB, free: 11.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009266/0.4147, allocations: 0.6962 MB / 384.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.4147, allocations: 3.562 kB / 384.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001301/0.416, allocations: 0.7182 MB / 385.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.416, allocations: 12.98 kB / 385.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.4161, allocations: 16.69 kB / 385.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.196e-05/0.4161, allocations: 16.09 kB / 385.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/0.4168, allocations: 196.4 kB / 385.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.074e-05/0.4168, allocations: 27.33 kB / 385.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/0.4173, allocations: 32.78 kB / 385.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/0.4174, allocations: 37.84 kB / 385.8 MB, free: 10.39 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.0004344/0.4178, allocations: 234.6 kB / 386 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.418, allocations: 73.91 kB / 386.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.4181, allocations: 74.27 kB / 386.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.4181, allocations: 4.688 kB / 386.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.4182, allocations: 1.766 kB / 386.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.4182, allocations: 3.156 kB / 386.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/0.421, allocations: 1.335 MB / 387.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.421, allocations: 1.469 kB / 387.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/0.4215, allocations: 103.6 kB / 387.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.4215, allocations: 4.109 kB / 387.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.4216, allocations: 9.766 kB / 387.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.4216, allocations: 4.172 kB / 387.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4216, allocations: 1.125 kB / 387.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.4228, allocations: 0.7072 MB / 388.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.423, allocations: 142.6 kB / 388.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.4231, allocations: 7.344 kB / 388.5 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.4234, allocations: 22.66 kB / 388.5 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.4236, allocations: 26.41 kB / 388.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.4237, allocations: 26.78 kB / 388.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007609/0.4244, allocations: 426 kB / 389 MB, free: 8.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4244, allocations: 1.188 kB / 389 MB, free: 8.559 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001163/0.4256, allocations: 138 kB / 389.1 MB, free: 8.543 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.000218/0.4258, allocations: 111.6 kB / 389.2 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.427, allocations: 458.6 kB / 389.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4271, allocations: 4.062 kB / 389.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.4274, allocations: 152.9 kB / 389.8 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008131/0.4282, allocations: 76.17 kB / 389.9 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.4317, allocations: 1.673 MB / 391.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007893/0.4325, allocations: 1.006 MB / 392.6 MB, free: 6.488 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005415/0.4331, allocations: 91.52 kB / 392.7 MB, free: 6.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.4332, allocations: 67.75 kB / 392.7 MB, free: 6.453 MB / 302.1 MB Notification: Performance of SimCode: time 2.004e-06/0.4333, allocations: 0 / 392.7 MB, free: 6.453 MB / 302.1 MB Notification: Performance of Templates: time 0.01553/0.4488, allocations: 4.94 MB / 397.7 MB, free: 4.395 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.1.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