Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,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.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,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.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 101.5 kB / 18.39 MB, free: 4.66 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.001191/0.001191, allocations: 183 kB / 19.33 MB, free: 3.738 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.316/1.316, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001197/0.001197, allocations: 59.91 kB / 329.2 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07621/0.07741, allocations: 46.61 MB / 375.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003761/0.0812, allocations: 2.813 MB / 378.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.0825, allocations: 0.7602 MB / 379.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.08268, allocations: 7.938 kB / 379.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.08285, allocations: 43.58 kB / 379.5 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.08309, allocations: 99.11 kB / 379.6 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.08338, allocations: 103.8 kB / 379.7 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.0838, allocations: 390.3 kB / 380.1 MB, free: 316 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.084, allocations: 96.92 kB / 380.1 MB, free: 220 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.08424, allocations: 147.4 kB / 380.3 MB, free: 72 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1635/0.2478, allocations: 161.3 kB / 380.4 MB, free: 9.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.2479, allocations: 33.19 kB / 380.5 MB, free: 9.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.505e-05/0.248, allocations: 32.75 kB / 380.5 MB, free: 9.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.2481, allocations: 72.19 kB / 380.6 MB, free: 9.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.2483, allocations: 158.8 kB / 380.7 MB, free: 9.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.2488, allocations: 358.6 kB / 381.1 MB, free: 9.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2488, allocations: 0 / 381.1 MB, free: 9.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.2488, allocations: 3.75 kB / 381.1 MB, free: 9.945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.2488, allocations: 0 / 381.1 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.001207/0.25, allocations: 0.6645 MB / 381.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2501, allocations: 9.172 kB / 381.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.2501, allocations: 36.41 kB / 381.8 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.2505, allocations: 287.5 kB / 382.1 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.2505, allocations: 17.94 kB / 382.1 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.2506, allocations: 22.19 kB / 382.1 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006136/0.2512, allocations: 267.5 kB / 382.4 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2512, allocations: 3.938 kB / 382.4 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.2512, allocations: 14.5 kB / 382.4 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2513, allocations: 5.5 kB / 382.4 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007596/0.252, allocations: 272 kB / 382.7 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.2536, allocations: 0.8784 MB / 383.5 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009368/0.2545, allocations: 356.6 kB / 383.9 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.2549, allocations: 125 kB / 384 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.2549, allocations: 5.922 kB / 384 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004198/0.2554, allocations: 197.9 kB / 384.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.2554, allocations: 0 / 384.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001745/0.2571, allocations: 0.5751 MB / 384.8 MB, free: 8.445 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.2572, allocations: 114.9 kB / 384.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.2574, allocations: 264.6 kB / 385.2 MB, free: 8.211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.2574, allocations: 31.14 kB / 385.2 MB, free: 8.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.2575, allocations: 182.1 kB / 385.4 MB, free: 8.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.2576, allocations: 58.16 kB / 385.4 MB, free: 8.023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/0.2577, allocations: 47.97 kB / 385.5 MB, free: 8.008 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.124e-05/0.2577, allocations: 339.5 kB / 385.8 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.258, allocations: 108.2 kB / 385.9 MB, free: 7.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.2583, allocations: 169.5 kB / 386.1 MB, free: 7.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.2589, allocations: 274.5 kB / 386.3 MB, free: 7.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2589, allocations: 7.281 kB / 386.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001009/0.2599, allocations: 415.4 kB / 386.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.26, allocations: 37.31 kB / 386.8 MB, free: 7.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.26, allocations: 1.859 kB / 386.8 MB, free: 7.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004331/0.2604, allocations: 95.45 kB / 386.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.2607, allocations: 57.16 kB / 386.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.262, allocations: 1.554 MB / 388.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.2623, allocations: 48.3 kB / 388.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.2624, allocations: 11.7 kB / 388.6 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003156/0.2627, allocations: 189.8 kB / 388.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002859/0.263, allocations: 161.4 kB / 388.9 MB, free: 5.695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004964/0.2635, allocations: 260.4 kB / 389.2 MB, free: 5.535 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.2635, allocations: 1.438 kB / 389.2 MB, free: 5.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007031/0.2642, allocations: 346.7 kB / 389.5 MB, free: 5.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2642, allocations: 33.91 kB / 389.5 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.2642, allocations: 3.719 kB / 389.5 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.955e-05/0.2643, allocations: 32.53 kB / 389.6 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.2646, allocations: 57.08 kB / 389.6 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006937/0.2653, allocations: 1.545 MB / 391.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.2656, allocations: 44.34 kB / 391.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.2656, allocations: 8.234 kB / 391.2 MB, free: 3.762 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 (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 9.172e-05/0.2657, allocations: 203.1 kB / 391.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.2657, allocations: 28.19 kB / 391.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.2658, allocations: 27.41 kB / 391.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.2658, allocations: 1.5 kB / 391.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2658, allocations: 0 / 391.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2658, allocations: 5.016 kB / 391.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.267, allocations: 0.7061 MB / 392.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.267, allocations: 0.6562 kB / 392.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.2672, allocations: 48.09 kB / 392.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/0.2674, allocations: 50.03 kB / 392.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.2674, allocations: 5.734 kB / 392.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.2686, allocations: 1.551 MB / 393.8 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2686, allocations: 1.156 kB / 393.8 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.2697, allocations: 0.5042 MB / 394.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.2697, allocations: 106.3 kB / 394.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.2698, allocations: 11.06 kB / 394.5 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.2701, allocations: 26.78 kB / 394.5 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.2701, allocations: 24.66 kB / 394.5 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.2702, allocations: 4.922 kB / 394.5 MB, free: 1.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.2703, allocations: 189.7 kB / 394.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2703, allocations: 0 / 394.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005357/0.2709, allocations: 136.3 kB / 394.8 MB, free: 1.109 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001175/0.271, allocations: 116.4 kB / 394.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.2723, allocations: 0.7017 MB / 395.6 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2723, allocations: 0 / 395.6 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.2727, allocations: 239.9 kB / 395.9 MB, free: 432 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.2731, allocations: 54.89 kB / 395.9 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.2742, allocations: 0.5696 MB / 396.5 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.2746, allocations: 0.7596 MB / 397.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.2747, allocations: 21.47 kB / 397.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2747, allocations: 4 kB / 397.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of Templates: time 0.007474/0.2822, allocations: 4.626 MB / 401.9 MB, free: 14.28 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches