Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 109.4 kB / 17.73 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 184.1 kB / 18.66 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 52.39 kB / 328.6 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1281, allocations: 46.61 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005617/0.1338, allocations: 2.82 MB / 378 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1358, allocations: 0.7485 MB / 378.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005228/0.1364, allocations: 7.938 kB / 378.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.1368, allocations: 51.56 kB / 378.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004948/0.1373, allocations: 103.1 kB / 378.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.1378, allocations: 103.8 kB / 379 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006317/0.1385, allocations: 386.3 kB / 379.4 MB, free: 328 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.1388, allocations: 100.9 kB / 379.5 MB, free: 228 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000398/0.1392, allocations: 151.4 kB / 379.6 MB, free: 76 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3264/0.4655, allocations: 157 kB / 379.8 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.4658, allocations: 31.62 kB / 379.8 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.4659, allocations: 33.28 kB / 379.8 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.466, allocations: 68.05 kB / 379.9 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.4663, allocations: 159.4 kB / 380.1 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.4669, allocations: 357.9 kB / 380.4 MB, free: 9.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4669, allocations: 0.9688 kB / 380.4 MB, free: 9.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4669, allocations: 1.375 kB / 380.4 MB, free: 9.945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.4669, allocations: 0 / 380.4 MB, free: 9.945 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001474/0.4684, allocations: 0.6642 MB / 381.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4685, allocations: 10.25 kB / 381.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.4686, allocations: 36.06 kB / 381.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.469, allocations: 285.5 kB / 381.4 MB, free: 9.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.469, allocations: 20.31 kB / 381.4 MB, free: 9.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.4691, allocations: 22.94 kB / 381.4 MB, free: 9.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007401/0.4698, allocations: 264.2 kB / 381.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4698, allocations: 3.938 kB / 381.7 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.4699, allocations: 9.484 kB / 381.7 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.4699, allocations: 7.062 kB / 381.7 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008663/0.4708, allocations: 270.1 kB / 382 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.4726, allocations: 0.8979 MB / 382.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000834/0.4735, allocations: 241.3 kB / 383.1 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.4738, allocations: 107 kB / 383.2 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.4739, allocations: 9.984 kB / 383.2 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004731/0.4744, allocations: 179.1 kB / 383.4 MB, free: 8.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.4744, allocations: 0.5 kB / 383.4 MB, free: 8.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.002482/0.4769, allocations: 0.619 MB / 384 MB, free: 8.504 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.477, allocations: 110.8 kB / 384.1 MB, free: 8.375 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.4773, allocations: 263.5 kB / 384.4 MB, free: 8.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.4774, allocations: 31.83 kB / 384.4 MB, free: 8.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.4775, allocations: 183.4 kB / 384.6 MB, free: 8.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.4776, allocations: 53.3 kB / 384.7 MB, free: 8.086 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.433e-05/0.4777, allocations: 44.33 kB / 384.7 MB, free: 8.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.4778, allocations: 334.8 kB / 385 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.4782, allocations: 102.3 kB / 385.1 MB, free: 7.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.4786, allocations: 174.5 kB / 385.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006534/0.4792, allocations: 261 kB / 385.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.4792, allocations: 5.484 kB / 385.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001201/0.4804, allocations: 437 kB / 386 MB, free: 7.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.4805, allocations: 34 kB / 386 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4805, allocations: 1.938 kB / 386 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/0.4811, allocations: 112.8 kB / 386.1 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.4813, allocations: 45.44 kB / 386.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.4836, allocations: 1.89 MB / 388.1 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.484, allocations: 49.12 kB / 388.1 MB, free: 5.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.484, allocations: 12.44 kB / 388.1 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004192/0.4845, allocations: 186.8 kB / 388.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003573/0.4848, allocations: 149.5 kB / 388.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005948/0.4854, allocations: 244.8 kB / 388.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.4855, allocations: 0.75 kB / 388.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0009336/0.4864, allocations: 347.6 kB / 389 MB, free: 5.262 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.4865, allocations: 42.31 kB / 389.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4865, allocations: 1.312 kB / 389.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.4866, allocations: 41.8 kB / 389.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.4869, allocations: 45 kB / 389.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.4881, allocations: 1.721 MB / 390.9 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.4885, allocations: 43.83 kB / 390.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.4885, allocations: 11.59 kB / 390.9 MB, free: 3.559 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.4887, allocations: 204 kB / 391.1 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.4888, allocations: 23.44 kB / 391.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.927e-05/0.4888, allocations: 27.69 kB / 391.2 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.4888, allocations: 2.312 kB / 391.2 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4888, allocations: 1.078 kB / 391.2 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4888, allocations: 0.9375 kB / 391.2 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.4892, allocations: 317 kB / 391.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4893, allocations: 0 / 391.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.4895, allocations: 31.97 kB / 391.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002827/0.4898, allocations: 68.34 kB / 391.6 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.4898, allocations: 2.438 kB / 391.6 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.4917, allocations: 1.714 MB / 393.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4917, allocations: 1.438 kB / 393.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.4932, allocations: 445.1 kB / 393.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.4933, allocations: 100.8 kB / 393.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.4933, allocations: 3.594 kB / 393.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.4936, allocations: 33.73 kB / 393.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.4938, allocations: 20.2 kB / 393.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.4938, allocations: 12.06 kB / 393.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003002/0.4941, allocations: 190.8 kB / 394.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4941, allocations: 0 / 394.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007924/0.4949, allocations: 138.2 kB / 394.2 MB, free: 1.105 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001897/0.4951, allocations: 101.2 kB / 394.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.4968, allocations: 0.7213 MB / 395.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.4968, allocations: 1.594 kB / 395.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005167/0.4973, allocations: 243.9 kB / 395.3 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.4978, allocations: 46.81 kB / 395.3 MB, free: 392 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.4992, allocations: 0.5383 MB / 395.9 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.4996, allocations: 0.7598 MB / 396.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.4998, allocations: 30.14 kB / 396.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.4999, allocations: 19.19 kB / 396.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of SimCode: time 1.113e-06/0.4999, allocations: 1.281 kB / 396.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of Templates: time 0.01334/0.5133, allocations: 4.554 MB / 401.2 MB, free: 14.46 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches