Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001485, allocations: 107.4 kB / 17.98 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001532, allocations: 213.8 kB / 18.92 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.403/1.403, allocations: 227.7 MB / 247.4 MB, free: 10.53 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 65.64 kB / 307.4 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09431/0.09617, allocations: 50.54 MB / 357.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004566/0.1008, allocations: 2.948 MB / 360.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1021, allocations: 0.705 MB / 361.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1022, allocations: 4 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.1025, allocations: 43.62 kB / 361.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.1026, allocations: 75.38 kB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.1029, allocations: 83.94 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004165/0.1033, allocations: 382.9 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003398/0.1037, allocations: 164.5 kB / 362.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.104, allocations: 151.5 kB / 362.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.1042, allocations: 159.3 kB / 362.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.1043, allocations: 32 kB / 362.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.28e-05/0.1044, allocations: 32 kB / 362.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.1044, allocations: 71.77 kB / 362.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.1046, allocations: 179.1 kB / 362.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.105, allocations: 287.5 kB / 363.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.105, allocations: 0 / 363.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.105, allocations: 4 kB / 363.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.105, allocations: 0 / 363.2 MB, free: 8.961 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.001054/0.106, allocations: 0.6239 MB / 363.8 MB, free: 8.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1061, allocations: 8.031 kB / 363.8 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.846e-05/0.1062, allocations: 40.47 kB / 363.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.1065, allocations: 271.7 kB / 364.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.1066, allocations: 21.03 kB / 364.2 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/0.1066, allocations: 32.38 kB / 364.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000583/0.1072, allocations: 290.3 kB / 364.5 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1072, allocations: 0 / 364.5 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.1073, allocations: 12 kB / 364.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1073, allocations: 12 kB / 364.5 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.1078, allocations: 206.5 kB / 364.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.1095, allocations: 1.038 MB / 365.7 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.1099, allocations: 154.6 kB / 365.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.1102, allocations: 132.8 kB / 366 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.1103, allocations: 7.938 kB / 366 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1103, allocations: 30.56 kB / 366.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.1103, allocations: 3.938 kB / 366.1 MB, free: 5.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006045/0.1109, allocations: 221.7 kB / 366.3 MB, free: 5.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.111, allocations: 55.41 kB / 366.3 MB, free: 5.625 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.1112, allocations: 219 kB / 366.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.1112, allocations: 29.7 kB / 366.6 MB, free: 5.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.1114, allocations: 192 kB / 366.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.1115, allocations: 82.86 kB / 366.9 MB, free: 5.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.1116, allocations: 49.98 kB / 366.9 MB, free: 5.039 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1118, allocations: 334.8 kB / 367.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.1119, allocations: 64.52 kB / 367.3 MB, free: 4.641 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.1122, allocations: 151.3 kB / 367.4 MB, free: 4.461 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.1126, allocations: 213.3 kB / 367.6 MB, free: 4.219 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1126, allocations: 4 kB / 367.7 MB, free: 4.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005496/0.1132, allocations: 273 kB / 367.9 MB, free: 3.941 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1132, allocations: 4 kB / 367.9 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1132, allocations: 4 kB / 367.9 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1132, allocations: 4 kB / 367.9 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.1135, allocations: 75.89 kB / 368 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1136, allocations: 4 kB / 368 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.1137, allocations: 27.73 kB / 368 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.1138, allocations: 16.19 kB / 368.1 MB, free: 3.809 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.0001493/0.1139, allocations: 145.7 kB / 368.2 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.114, allocations: 19.75 kB / 368.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004571/0.1144, allocations: 207.2 kB / 368.4 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1145, allocations: 0 / 368.4 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1145, allocations: 3.938 kB / 368.4 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1145, allocations: 7.922 kB / 368.4 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009349/0.1154, allocations: 0.6082 MB / 369 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1154, allocations: 0 / 369 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.1158, allocations: 55.91 kB / 369.1 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1158, allocations: 0 / 369.1 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.1158, allocations: 15.98 kB / 369.1 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1158, allocations: 0 / 369.1 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1158, allocations: 8.062 kB / 369.1 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/0.1165, allocations: 370.9 kB / 369.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.1166, allocations: 96.91 kB / 369.6 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.1166, allocations: 12.06 kB / 369.6 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.1168, allocations: 15.98 kB / 369.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.1169, allocations: 11.98 kB / 369.6 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.1169, allocations: 4 kB / 369.6 MB, free: 2.125 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.1171, allocations: 152.7 kB / 369.8 MB, free: 1.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1171, allocations: 0 / 369.8 MB, free: 1.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.1175, allocations: 83.62 kB / 369.8 MB, free: 1.895 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.000154/0.1176, allocations: 115.4 kB / 370 MB, free: 1.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004568/0.1181, allocations: 175.7 kB / 370.1 MB, free: 1.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.1181, allocations: 4 kB / 370.1 MB, free: 1.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.1183, allocations: 84.39 kB / 370.2 MB, free: 1.516 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.1187, allocations: 32.72 kB / 370.2 MB, free: 1.484 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.1203, allocations: 0.9935 MB / 371.2 MB, free: 464 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1495/0.2698, allocations: 0.7616 MB / 372 MB, free: 19.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.27, allocations: 26.23 kB / 372 MB, free: 19.46 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.27, allocations: 0.9375 kB / 372 MB, free: 19.46 MB / 302.1 MB Notification: Performance of Templates: time 0.005968/0.276, allocations: 2.947 MB / 375 MB, free: 19.35 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches