Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001143, allocations: 110.4 kB / 17.74 MB, free: 5.332 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.001211/0.001211, allocations: 197.2 kB / 18.68 MB, free: 4.398 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.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 51.91 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2434, allocations: 49.44 MB / 401.5 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004957/0.2484, allocations: 3.367 MB / 404.8 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2497, allocations: 0.8026 MB / 405.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.2499, allocations: 8 kB / 405.6 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.2501, allocations: 63.36 kB / 405.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.2503, allocations: 127 kB / 405.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.2506, allocations: 139.8 kB / 406 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004601/0.2511, allocations: 0.4902 MB / 406.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.2514, allocations: 169 kB / 406.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.2516, allocations: 191.3 kB / 406.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.2518, allocations: 203.1 kB / 407 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.184e-05/0.2519, allocations: 48 kB / 407 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.657e-05/0.252, allocations: 48 kB / 407.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.643e-05/0.2521, allocations: 95.69 kB / 407.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.2523, allocations: 223 kB / 407.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.2528, allocations: 0.5641 MB / 408 MB, free: 2.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2528, allocations: 0 / 408 MB, free: 2.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2528, allocations: 0 / 408 MB, free: 2.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.2528, allocations: 0 / 408 MB, free: 2.297 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001115/0.254, allocations: 0.7093 MB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.254, allocations: 8.031 kB / 408.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.13e-05/0.2541, allocations: 44.66 kB / 408.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.2546, allocations: 328.7 kB / 409 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.2546, allocations: 25.38 kB / 409.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/0.2547, allocations: 44.12 kB / 409.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.2553, allocations: 386.1 kB / 409.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2554, allocations: 3.938 kB / 409.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.2554, allocations: 16 kB / 409.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.2554, allocations: 8 kB / 409.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006873/0.2561, allocations: 299.9 kB / 409.8 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.2583, allocations: 1.44 MB / 411.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.2589, allocations: 234.7 kB / 411.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.2591, allocations: 96.81 kB / 411.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.2591, allocations: 0 / 411.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.2592, allocations: 42.56 kB / 411.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.2592, allocations: 0 / 411.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.002168/0.2613, allocations: 0.7582 MB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.2614, allocations: 51.41 kB / 412.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.2617, allocations: 319.2 kB / 412.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2617, allocations: 25.7 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.2619, allocations: 232.2 kB / 413 MB, free: 12.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.262, allocations: 67.47 kB / 413 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.262, allocations: 53.66 kB / 413.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2622, allocations: 334.8 kB / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.2624, allocations: 87.95 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.2627, allocations: 161.4 kB / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.2631, allocations: 245.2 kB / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2631, allocations: 0 / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001011/0.2642, allocations: 429.7 kB / 414.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2642, allocations: 11.94 kB / 414.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.2642, allocations: 4 kB / 414.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004339/0.2646, allocations: 113.7 kB / 414.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.2648, allocations: 43.92 kB / 414.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003989/0.2688, allocations: 3.568 MB / 418.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.269, allocations: 39.77 kB / 418.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.2691, allocations: 8 kB / 418.1 MB, free: 7.469 MB / 334.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 (23): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.2692, allocations: 157.8 kB / 418.3 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.2693, allocations: 31.81 kB / 418.3 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.2693, allocations: 30.23 kB / 418.3 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2694, allocations: 0 / 418.3 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2694, allocations: 4 kB / 418.3 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.2694, allocations: 112.8 kB / 418.4 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.2695, allocations: 7.938 kB / 418.5 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.2697, allocations: 31.97 kB / 418.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.2698, allocations: 11.98 kB / 418.5 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001011/0.2708, allocations: 418.3 kB / 418.9 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006415/0.2714, allocations: 466.3 kB / 419.4 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001749/0.2716, allocations: 75.89 kB / 419.4 MB, free: 6.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.2718, allocations: 221.9 kB / 419.7 MB, free: 5.875 MB / 334.1 MB Notification: Performance of Backend: time 5.21e-07/0.2718, allocations: 0 / 419.7 MB, free: 5.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.273, allocations: 0.5305 MB / 420.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of SimCode: time 0.001177/0.2742, allocations: 1.068 MB / 421.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of Templates: time 0.008029/0.2823, allocations: 3.914 MB / 425.2 MB, free: 328 kB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches