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.001074/0.001074, allocations: 110.3 kB / 17.75 MB, free: 5.355 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.001107/0.001107, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009552/0.0009552, allocations: 48.03 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2306, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004079/0.2347, allocations: 3.368 MB / 404.8 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.236, allocations: 0.8026 MB / 405.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.2361, allocations: 11.94 kB / 405.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.2363, allocations: 63.36 kB / 405.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.2365, allocations: 127 kB / 405.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.2368, allocations: 135.8 kB / 405.9 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004276/0.2373, allocations: 0.4902 MB / 406.4 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.2375, allocations: 177 kB / 406.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.2378, allocations: 183.3 kB / 406.8 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.238, allocations: 203.1 kB / 407 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.2381, allocations: 48 kB / 407 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-05/0.2381, allocations: 48 kB / 407.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.2382, allocations: 99.73 kB / 407.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.2384, allocations: 218.9 kB / 407.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.2389, allocations: 0.5657 MB / 408 MB, free: 2.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2389, allocations: 0 / 408 MB, free: 2.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2389, allocations: 0 / 408 MB, free: 2.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2389, allocations: 0 / 408 MB, free: 2.316 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.001181/0.2401, allocations: 0.701 MB / 408.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2401, allocations: 8.031 kB / 408.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.069e-05/0.2402, allocations: 40.47 kB / 408.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.2406, allocations: 328.5 kB / 409 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.2407, allocations: 25.38 kB / 409 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.2407, allocations: 44.06 kB / 409.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000692/0.2414, allocations: 390.2 kB / 409.5 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2414, allocations: 0 / 409.5 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.2415, allocations: 16 kB / 409.5 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.2415, allocations: 8 kB / 409.5 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006328/0.2421, allocations: 307.8 kB / 409.8 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.2443, allocations: 1.432 MB / 411.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.2449, allocations: 234.8 kB / 411.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.2451, allocations: 96.81 kB / 411.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.2452, allocations: 0 / 411.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.2452, allocations: 42.56 kB / 411.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.2452, allocations: 0 / 411.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.002229/0.2474, allocations: 0.7584 MB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.2475, allocations: 51.41 kB / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.2478, allocations: 315.2 kB / 412.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.2478, allocations: 29.7 kB / 412.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.248, allocations: 231.6 kB / 413 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.248, allocations: 59.14 kB / 413 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.368e-05/0.2481, allocations: 53.7 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.2483, allocations: 334.8 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.2485, allocations: 87.95 kB / 413.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.2488, allocations: 157.4 kB / 413.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.2492, allocations: 241.3 kB / 413.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2492, allocations: 0 / 413.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001037/0.2503, allocations: 430.7 kB / 414.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.2503, allocations: 8 kB / 414.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2503, allocations: 0 / 414.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000478/0.2508, allocations: 117.6 kB / 414.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.251, allocations: 43.95 kB / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004142/0.2552, allocations: 3.564 MB / 418 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.2554, allocations: 39.67 kB / 418.1 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.2554, allocations: 11.94 kB / 418.1 MB, free: 7.52 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.0001724/0.2556, allocations: 157.8 kB / 418.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.2557, allocations: 23.72 kB / 418.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.2557, allocations: 34.23 kB / 418.3 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2557, allocations: 0 / 418.3 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2558, allocations: 0 / 418.3 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.2558, allocations: 112.7 kB / 418.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.2559, allocations: 4.094 kB / 418.4 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.2561, allocations: 27.98 kB / 418.4 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.2562, allocations: 19.95 kB / 418.4 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001132/0.2573, allocations: 426.2 kB / 418.9 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000676/0.258, allocations: 454.3 kB / 419.3 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001964/0.2582, allocations: 83.92 kB / 419.4 MB, free: 6.145 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.2584, allocations: 218 kB / 419.6 MB, free: 5.934 MB / 334.1 MB Notification: Performance of Backend: time 5e-07/0.2585, allocations: 0 / 419.6 MB, free: 5.934 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.2597, allocations: 0.526 MB / 420.1 MB, free: 5.379 MB / 334.1 MB Notification: Performance of SimCode: time 0.001139/0.2609, allocations: 1.064 MB / 421.2 MB, free: 4.273 MB / 334.1 MB Notification: Performance of Templates: time 0.007339/0.2682, allocations: 3.904 MB / 425.1 MB, free: 412 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