Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 170.9 kB / 24.82 MB, free: 9.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.046/1.046, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.316e-05, allocations: 9.266 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003286/0.003299, allocations: 3.348 MB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.004691, allocations: 0.822 MB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.00486, allocations: 11.94 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.005037, allocations: 67.3 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.005231, allocations: 134.9 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.00554, allocations: 139.6 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004422/0.005982, allocations: 0.5094 MB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.006197, allocations: 121.3 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003783/0.006575, allocations: 295.3 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.006772, allocations: 159.5 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.977e-05/0.006822, allocations: 48 kB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.119e-05/0.006913, allocations: 52 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.006971, allocations: 103.7 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.007075, allocations: 151.6 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.007415, allocations: 334.8 kB / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.007419, allocations: 4 kB / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007421, allocations: 0 / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.007427, allocations: 0 / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0007786/0.008205, allocations: 0.7182 MB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.008248, allocations: 15.98 kB / 280.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.00842, allocations: 88.64 kB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.00871, allocations: 279.3 kB / 280.7 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.008731, allocations: 25.38 kB / 280.8 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.008764, allocations: 40.31 kB / 280.8 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.009099, allocations: 352.3 kB / 281.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.00911, allocations: 11.88 kB / 281.2 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.009131, allocations: 12 kB / 281.2 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.00914, allocations: 16 kB / 281.2 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.009272, allocations: 106.9 kB / 281.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.0106, allocations: 1.197 MB / 282.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.01082, allocations: 143.3 kB / 282.6 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.01088, allocations: 50.91 kB / 282.7 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.0109, allocations: 4.344 kB / 282.7 MB, free: 7.645 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.01092, allocations: 41.33 kB / 282.7 MB, free: 7.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.01093, allocations: 0 / 282.7 MB, free: 7.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006279/0.01155, allocations: 328.5 kB / 283 MB, free: 7.258 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.01158, allocations: 55.41 kB / 283.1 MB, free: 7.191 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.01176, allocations: 308.1 kB / 283.4 MB, free: 6.875 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.01177, allocations: 29.7 kB / 283.4 MB, free: 6.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.01188, allocations: 290.7 kB / 283.7 MB, free: 6.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.01192, allocations: 67.42 kB / 283.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/0.01198, allocations: 55.33 kB / 283.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.0121, allocations: 0.5156 MB / 284.3 MB, free: 5.895 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.832e-05/0.01213, allocations: 19.98 kB / 284.4 MB, free: 5.875 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.642e-05/0.01222, allocations: 140.7 kB / 284.5 MB, free: 5.695 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.01236, allocations: 168.6 kB / 284.7 MB, free: 5.488 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01236, allocations: 0 / 284.7 MB, free: 5.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003233/0.01268, allocations: 265.8 kB / 284.9 MB, free: 5.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.0127, allocations: 11.12 kB / 284.9 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.01271, allocations: 0 / 284.9 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/0.01302, allocations: 123.5 kB / 285.1 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.0131, allocations: 39.92 kB / 285.1 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.01518, allocations: 3.982 MB / 289.1 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.01528, allocations: 35.83 kB / 289.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.0153, allocations: 8 kB / 289.1 MB, free: 0.7812 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (feedback.opAmp.satNeg,feedback.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.0154, allocations: 172.5 kB / 289.3 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.01543, allocations: 31.86 kB / 289.3 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.01546, allocations: 30.17 kB / 289.3 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01546, allocations: 8 kB / 289.4 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.01547, allocations: 0 / 289.4 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01547, allocations: 3.938 kB / 289.4 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.01566, allocations: 216.9 kB / 289.6 MB, free: 300 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01566, allocations: 4 kB / 289.6 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.0157, allocations: 11.94 kB / 289.6 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002487/0.01594, allocations: 123.2 kB / 289.7 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.01595, allocations: 4 kB / 289.7 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.01776, allocations: 3.979 MB / 293.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01777, allocations: 0 / 293.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.01817, allocations: 350.8 kB / 294 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.0182, allocations: 39.73 kB / 294.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.01821, allocations: 4.062 kB / 294.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.01831, allocations: 32.02 kB / 294.1 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.01835, allocations: 15.95 kB / 294.1 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.01836, allocations: 8 kB / 294.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.62e-05/0.01846, allocations: 205.1 kB / 294.3 MB, free: 11.26 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01846, allocations: 0 / 294.3 MB, free: 11.26 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003503/0.01881, allocations: 107.8 kB / 294.4 MB, free: 11.16 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (feedback.opAmp.satPos,feedback.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 9.627e-05/0.01891, allocations: 107.2 kB / 294.5 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000358/0.01926, allocations: 493.9 kB / 295 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01927, allocations: 0 / 295 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.01948, allocations: 431.2 kB / 295.4 MB, free: 10.06 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.01975, allocations: 52.84 kB / 295.5 MB, free: 10.01 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008999/0.02065, allocations: 0.5686 MB / 296.1 MB, free: 9.414 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.968e-05/0.02072, allocations: 96.84 kB / 296.2 MB, free: 9.297 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.307e-05/0.02079, allocations: 22.28 kB / 296.2 MB, free: 9.273 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.0209, allocations: 122.2 kB / 296.3 MB, free: 9.152 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0209, allocations: 3.938 kB / 296.3 MB, free: 9.148 MB / 282.7 MB Notification: Performance of Templates: time 0.006559/0.02746, allocations: 4.185 MB / 300.5 MB, free: 5.016 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,vOut.v Variables in the result:Vin,f,feedback.R1,feedback.R3,feedback.V0,feedback.Vns,feedback.Vps,feedback.k,feedback.opAmp.Tau,feedback.opAmp.V0,feedback.opAmp.Vns,feedback.opAmp.Vps,feedback.opAmp.initOpAmp,feedback.opAmp.useFirstOrder,feedback.opAmp.useSupply,feedback.r1.R,feedback.r1.T,feedback.r1.T_ref,feedback.r1.alpha,feedback.r2.R,feedback.r2.T,feedback.r2.T_ref,feedback.r2.alpha,feedback.r3.R,feedback.r3.T,feedback.r3.T_ref,feedback.r3.alpha,feedback.r4.R,feedback.r4.T,feedback.r4.T_ref,feedback.r4.alpha,feedback.v2,time,vIn1.V,vIn1.f,vIn1.offset,vIn1.phase,vIn1.signalSource.amplitude,vIn1.signalSource.continuous,vIn1.signalSource.f,vIn1.signalSource.offset,vIn1.signalSource.phase,vIn1.signalSource.startTime,vIn1.startTime,vIn2.V,vOut.v filterSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff.mat", vars={"vOut.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff.ref.mat", vars={"vOut.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8704267647117376]