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) 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 68.19 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08587/0.08719, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003866/0.09109, allocations: 2.906 MB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.09223, allocations: 0.7128 MB / 362.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.09238, allocations: 11.94 kB / 362.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.09257, allocations: 59.44 kB / 362.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.09274, allocations: 91.17 kB / 362.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.09299, allocations: 87.83 kB / 362.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.09335, allocations: 378.9 kB / 363.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.09364, allocations: 172.4 kB / 363.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.09388, allocations: 151.5 kB / 363.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.09407, allocations: 163.2 kB / 363.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.09412, allocations: 36 kB / 363.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.217e-05/0.09418, allocations: 36 kB / 363.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.09425, allocations: 71.77 kB / 363.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.0944, allocations: 171.1 kB / 363.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.09474, allocations: 382.6 kB / 364.3 MB, free: 7.945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.09475, allocations: 0 / 364.3 MB, free: 7.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.09476, allocations: 0 / 364.3 MB, free: 7.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.09477, allocations: 0 / 364.3 MB, free: 7.945 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008977/0.09567, allocations: 0.616 MB / 364.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.09571, allocations: 8.031 kB / 364.9 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.09578, allocations: 40.47 kB / 365 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.09611, allocations: 267.7 kB / 365.2 MB, free: 6.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.09614, allocations: 29.03 kB / 365.2 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/0.09621, allocations: 32.38 kB / 365.3 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.0967, allocations: 286.3 kB / 365.6 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.09672, allocations: 0 / 365.6 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.09675, allocations: 12 kB / 365.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.09677, allocations: 15.92 kB / 365.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.09721, allocations: 210.5 kB / 365.8 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.09867, allocations: 1.034 MB / 366.8 MB, free: 5.246 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.09899, allocations: 150.6 kB / 367 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.09928, allocations: 136.8 kB / 367.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.09932, allocations: 3.938 kB / 367.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.09934, allocations: 34.56 kB / 367.1 MB, free: 4.906 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/0.09935, allocations: 0 / 367.1 MB, free: 4.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005325/0.09989, allocations: 224 kB / 367.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.09993, allocations: 51.41 kB / 367.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.1001, allocations: 227 kB / 367.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1002, allocations: 29.7 kB / 367.7 MB, free: 4.355 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1003, allocations: 188 kB / 367.8 MB, free: 4.168 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.1003, allocations: 78.94 kB / 367.9 MB, free: 4.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/0.1004, allocations: 45.98 kB / 368 MB, free: 4.039 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1005, allocations: 334.8 kB / 368.3 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.1007, allocations: 68.52 kB / 368.4 MB, free: 3.637 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.1009, allocations: 147.3 kB / 368.5 MB, free: 3.461 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.1013, allocations: 225.2 kB / 368.7 MB, free: 3.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1013, allocations: 0 / 368.7 MB, free: 3.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004759/0.1018, allocations: 272.9 kB / 369 MB, free: 2.934 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1018, allocations: 8 kB / 369 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1018, allocations: 4 kB / 369 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1018, allocations: 4.25 kB / 369 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.1021, allocations: 75.89 kB / 369.1 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1021, allocations: 4 kB / 369.1 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.1023, allocations: 31.73 kB / 369.1 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.1023, allocations: 12 kB / 369.1 MB, free: 2.797 MB / 302.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.0001207/0.1025, allocations: 141.7 kB / 369.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.1025, allocations: 23.75 kB / 369.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.1029, allocations: 210.8 kB / 369.5 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1029, allocations: 4 kB / 369.5 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1029, allocations: 0 / 369.5 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.103, allocations: 0 / 369.5 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007898/0.1037, allocations: 0.6013 MB / 370.1 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1038, allocations: 4.062 kB / 370.1 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.1041, allocations: 55.91 kB / 370.2 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1041, allocations: 0 / 370.2 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.1041, allocations: 8 kB / 370.2 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.1041, allocations: 3.938 kB / 370.2 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.1041, allocations: 4 kB / 370.2 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.1047, allocations: 385.9 kB / 370.5 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.1047, allocations: 92.92 kB / 370.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.1048, allocations: 4.062 kB / 370.6 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.105, allocations: 19.98 kB / 370.7 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.105, allocations: 15.97 kB / 370.7 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.105, allocations: 8.047 kB / 370.7 MB, free: 1.117 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1052, allocations: 152.7 kB / 370.8 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1052, allocations: 0 / 370.8 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003323/0.1055, allocations: 79.62 kB / 370.9 MB, free: 0.8906 MB / 302.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.0001178/0.1056, allocations: 111.2 kB / 371 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.106, allocations: 183.8 kB / 371.2 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1061, allocations: 0 / 371.2 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.1062, allocations: 79.89 kB / 371.3 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.1066, allocations: 24.67 kB / 371.3 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1369/0.2435, allocations: 0.8265 MB / 372.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.2438, allocations: 0.7738 MB / 372.9 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.2439, allocations: 22.81 kB / 372.9 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/0.244, allocations: 19.47 kB / 372.9 MB, free: 19.31 MB / 302.1 MB Notification: Performance of SimCode: time 8.82e-07/0.244, allocations: 0 / 372.9 MB, free: 19.31 MB / 302.1 MB Notification: Performance of Templates: time 0.005573/0.2496, allocations: 2.041 MB / 375 MB, free: 19.27 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (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 gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches