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.001201/0.001201, allocations: 113.3 kB / 18.4 MB, free: 4.566 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.001216/0.001216, allocations: 189.2 kB / 19.33 MB, free: 3.648 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.335/1.335, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001264/0.001264, allocations: 51.92 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07874/0.08001, allocations: 46.61 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004074/0.08413, allocations: 2.813 MB / 378.7 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.08552, allocations: 0.7524 MB / 379.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.0857, allocations: 7.938 kB / 379.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.0859, allocations: 43.56 kB / 379.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.08609, allocations: 103.2 kB / 379.6 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.08641, allocations: 103.8 kB / 379.7 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003677/0.08679, allocations: 390.3 kB / 380 MB, free: 328 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.08701, allocations: 92.92 kB / 380.1 MB, free: 236 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.08721, allocations: 151.4 kB / 380.3 MB, free: 84 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1669/0.2541, allocations: 159.9 kB / 380.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.2542, allocations: 34.72 kB / 380.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.934e-05/0.2543, allocations: 32.19 kB / 380.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.2544, allocations: 69.2 kB / 380.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.2546, allocations: 154.3 kB / 380.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.255, allocations: 359.1 kB / 381.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.255, allocations: 0 / 381.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.255, allocations: 0.8125 kB / 381.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.255, allocations: 1.375 kB / 381.1 MB, free: 10.55 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.001167/0.2562, allocations: 0.6647 MB / 381.7 MB, free: 10.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2563, allocations: 10.8 kB / 381.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.051e-05/0.2563, allocations: 33.06 kB / 381.8 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.2567, allocations: 285.6 kB / 382.1 MB, free: 9.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.2567, allocations: 19.22 kB / 382.1 MB, free: 9.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.2568, allocations: 23.38 kB / 382.1 MB, free: 9.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.2574, allocations: 265.6 kB / 382.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2574, allocations: 3.938 kB / 382.4 MB, free: 9.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.2574, allocations: 7.953 kB / 382.4 MB, free: 9.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.2574, allocations: 5.5 kB / 382.4 MB, free: 9.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007357/0.2582, allocations: 275.1 kB / 382.7 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.2597, allocations: 0.9065 MB / 383.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007625/0.2605, allocations: 236.9 kB / 383.8 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.2608, allocations: 106.1 kB / 383.9 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.2609, allocations: 14.56 kB / 383.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004156/0.2613, allocations: 180.3 kB / 384.1 MB, free: 9.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.2613, allocations: 0 / 384.1 MB, free: 9.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001987/0.2633, allocations: 0.6134 MB / 384.7 MB, free: 9.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.2633, allocations: 113.4 kB / 384.8 MB, free: 8.977 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.2636, allocations: 264.4 kB / 385.1 MB, free: 8.836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.2636, allocations: 26.95 kB / 385.1 MB, free: 8.805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.2637, allocations: 188.1 kB / 385.3 MB, free: 8.645 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.2638, allocations: 53.81 kB / 385.3 MB, free: 8.605 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.2639, allocations: 46.92 kB / 385.4 MB, free: 8.574 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.706e-05/0.2639, allocations: 331.2 kB / 385.7 MB, free: 8.254 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.2642, allocations: 103.4 kB / 385.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.2646, allocations: 172.2 kB / 386 MB, free: 8.109 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005799/0.2652, allocations: 261.4 kB / 386.2 MB, free: 7.965 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2652, allocations: 4.875 kB / 386.2 MB, free: 7.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001041/0.2662, allocations: 435.9 kB / 386.7 MB, free: 7.797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.2663, allocations: 38.22 kB / 386.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2663, allocations: 1.781 kB / 386.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004726/0.2668, allocations: 107.7 kB / 386.8 MB, free: 7.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.267, allocations: 44.5 kB / 386.8 MB, free: 7.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.2687, allocations: 1.89 MB / 388.7 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.269, allocations: 52.69 kB / 388.8 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.2691, allocations: 7.688 kB / 388.8 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003191/0.2694, allocations: 190.7 kB / 389 MB, free: 5.934 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002843/0.2697, allocations: 146 kB / 389.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004741/0.2702, allocations: 248.9 kB / 389.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.2702, allocations: 0.7031 kB / 389.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0007396/0.2709, allocations: 353.9 kB / 389.7 MB, free: 5.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.271, allocations: 36.92 kB / 389.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.271, allocations: 2.469 kB / 389.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001061/0.2711, allocations: 42.45 kB / 389.8 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.2713, allocations: 49.06 kB / 389.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009201/0.2722, allocations: 1.719 MB / 391.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.2725, allocations: 43.02 kB / 391.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.2726, allocations: 11.55 kB / 391.6 MB, free: 3.832 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.0001051/0.2727, allocations: 208 kB / 391.8 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.2727, allocations: 24.45 kB / 391.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.2728, allocations: 26.52 kB / 391.9 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.2728, allocations: 2.797 kB / 391.9 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2728, allocations: 0 / 391.9 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2728, allocations: 5.219 kB / 391.9 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.2731, allocations: 308 kB / 392.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2731, allocations: 1.188 kB / 392.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.2733, allocations: 36.5 kB / 392.2 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/0.2735, allocations: 59.97 kB / 392.3 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.2735, allocations: 5.859 kB / 392.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.275, allocations: 1.712 MB / 394 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.275, allocations: 0 / 394 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.2761, allocations: 443.1 kB / 394.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.2762, allocations: 97.19 kB / 394.5 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.2762, allocations: 6.766 kB / 394.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.2765, allocations: 30.95 kB / 394.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.2766, allocations: 24.55 kB / 394.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.2766, allocations: 8.594 kB / 394.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.2767, allocations: 197.1 kB / 394.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2767, allocations: 0 / 394.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005535/0.2773, allocations: 133.9 kB / 394.9 MB, free: 1.383 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.0001164/0.2774, allocations: 104.2 kB / 395 MB, free: 1.289 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.2787, allocations: 0.7233 MB / 395.7 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2787, allocations: 192 / 395.7 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004262/0.2792, allocations: 244.3 kB / 396 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.2795, allocations: 52.5 kB / 396 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009863/0.2805, allocations: 0.5595 MB / 396.6 MB, free: 300 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.2808, allocations: 0.7617 MB / 397.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.138e-05/0.2809, allocations: 20 kB / 397.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2809, allocations: 0 / 397.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of Templates: time 0.007515/0.2884, allocations: 4.528 MB / 401.9 MB, free: 14.56 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/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