Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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.00164/0.001639, allocations: 110.2 kB / 17.75 MB, free: 5.352 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.001743/0.001744, allocations: 185.4 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 51.91 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2467, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004349/0.2511, allocations: 3.087 MB / 404.5 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2524, allocations: 0.7559 MB / 405.3 MB, free: 5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.2525, allocations: 8 kB / 405.3 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.2527, allocations: 55.44 kB / 405.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.2529, allocations: 119 kB / 405.5 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.2532, allocations: 127.8 kB / 405.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.2537, allocations: 458.3 kB / 406 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.254, allocations: 130.9 kB / 406.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.2542, allocations: 179.3 kB / 406.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.2544, allocations: 191.2 kB / 406.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.903e-05/0.2545, allocations: 44 kB / 406.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.775e-05/0.2546, allocations: 44 kB / 406.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.795e-05/0.2546, allocations: 87.69 kB / 406.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.2548, allocations: 199 kB / 406.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.2553, allocations: 497.9 kB / 407.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2553, allocations: 0 / 407.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2553, allocations: 0 / 407.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2553, allocations: 0 / 407.4 MB, free: 2.898 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001301/0.2566, allocations: 0.7185 MB / 408.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2567, allocations: 11.89 kB / 408.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.038e-05/0.2568, allocations: 40.7 kB / 408.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.2572, allocations: 314.8 kB / 408.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.2573, allocations: 28.92 kB / 408.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.2573, allocations: 28.31 kB / 408.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007061/0.258, allocations: 351.6 kB / 408.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2581, allocations: 0 / 408.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.2581, allocations: 12 kB / 408.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.2581, allocations: 12 kB / 408.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008122/0.2589, allocations: 302 kB / 409.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.261, allocations: 1.271 MB / 410.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/0.2617, allocations: 236.3 kB / 410.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.262, allocations: 108.8 kB / 410.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.2621, allocations: 11.94 kB / 410.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004746/0.2626, allocations: 193.8 kB / 411 MB, free: 15.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.2626, allocations: 0 / 411 MB, free: 15.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.00233/0.2649, allocations: 0.6899 MB / 411.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.265, allocations: 106.8 kB / 411.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.2653, allocations: 291 kB / 412.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.2653, allocations: 33.7 kB / 412.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.2655, allocations: 220 kB / 412.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.2655, allocations: 51.53 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.2656, allocations: 53.66 kB / 412.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2658, allocations: 342.8 kB / 412.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.2661, allocations: 115.9 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.2665, allocations: 216.4 kB / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006876/0.2672, allocations: 319.8 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2673, allocations: 0 / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001226/0.2685, allocations: 490.5 kB / 413.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.2685, allocations: 41.62 kB / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2686, allocations: 4 kB / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003549/0.2689, allocations: 84.86 kB / 414 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.2692, allocations: 55.91 kB / 414 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.2717, allocations: 1.994 MB / 416 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.2721, allocations: 55.98 kB / 416.1 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.2721, allocations: 16 kB / 416.1 MB, free: 9.609 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.2723, allocations: 154 kB / 416.3 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.2723, allocations: 27.8 kB / 416.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.2724, allocations: 29.86 kB / 416.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2724, allocations: 3.938 kB / 416.3 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2724, allocations: 3.984 kB / 416.3 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.2725, allocations: 104.9 kB / 416.4 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.2725, allocations: 8 kB / 416.4 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.2728, allocations: 31.95 kB / 416.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.689e-05/0.2729, allocations: 19.97 kB / 416.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001362/0.2742, allocations: 465.3 kB / 416.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001073/0.2753, allocations: 0.5387 MB / 417.5 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003155/0.2757, allocations: 107.1 kB / 417.6 MB, free: 8.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.2759, allocations: 210 kB / 417.8 MB, free: 7.879 MB / 334.1 MB Notification: Performance of Backend: time 1.854e-06/0.2759, allocations: 0 / 417.8 MB, free: 7.879 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009746/0.2769, allocations: 440.1 kB / 418.2 MB, free: 7.414 MB / 334.1 MB Notification: Performance of SimCode: time 0.001142/0.278, allocations: 1.064 MB / 419.3 MB, free: 6.301 MB / 334.1 MB Notification: Performance of Templates: time 0.008509/0.2866, allocations: 4.523 MB / 423.8 MB, free: 1.816 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches