Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 88.31 kB / 21.44 MB, free: 276 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 164 kB / 24.71 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.705e-05, allocations: 2.281 kB / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.006958/0.006985, allocations: 5.03 MB / 304 MB, free: 3.633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003748/0.01073, allocations: 1.418 MB / 305.4 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004718/0.0112, allocations: 15.94 kB / 305.4 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.01157, allocations: 158.4 kB / 305.6 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006051/0.01217, allocations: 297.1 kB / 305.9 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008279/0.013, allocations: 363.3 kB / 306.2 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001577/0.01458, allocations: 1.288 MB / 307.5 MB, free: 96 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006327/0.01521, allocations: 269.4 kB / 307.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.01628, allocations: 0.6979 MB / 308.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005662/0.01685, allocations: 402.9 kB / 308.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.01702, allocations: 124 kB / 309 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.01731, allocations: 167.8 kB / 309.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.01753, allocations: 251.2 kB / 309.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004351/0.01797, allocations: 391.1 kB / 309.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.01951, allocations: 1.48 MB / 311.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.01951, allocations: 0 / 311.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01952, allocations: 0 / 311.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.01954, allocations: 0 / 311.3 MB, free: 12.32 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002628/0.02216, allocations: 1.241 MB / 312.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.02221, allocations: 8.031 kB / 312.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.02241, allocations: 108.3 kB / 312.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008102/0.02322, allocations: 463.1 kB / 313.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.02328, allocations: 62.38 kB / 313.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.02342, allocations: 84.33 kB / 313.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.0252, allocations: 1.078 MB / 314.3 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.02522, allocations: 4.125 kB / 314.3 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.02531, allocations: 36.38 kB / 314.3 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.02534, allocations: 27.94 kB / 314.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.02689, allocations: 0.7691 MB / 315.1 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004755/0.03165, allocations: 2.612 MB / 317.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.03282, allocations: 0.6 MB / 318.3 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007104/0.03353, allocations: 370.7 kB / 318.7 MB, free: 4.656 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.524e-05/0.03359, allocations: 20.58 kB / 318.7 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.03364, allocations: 39.22 kB / 318.8 MB, free: 4.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.785e-06/0.03364, allocations: 0 / 318.8 MB, free: 4.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.004966/0.03861, allocations: 2.116 MB / 320.9 MB, free: 2.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/0.0387, allocations: 60.06 kB / 320.9 MB, free: 2.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006791/0.03938, allocations: 498 kB / 321.4 MB, free: 1.867 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.797e-05/0.03944, allocations: 41.7 kB / 321.5 MB, free: 1.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/0.03978, allocations: 400.4 kB / 321.9 MB, free: 1.422 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.04002, allocations: 265.7 kB / 322.1 MB, free: 1.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.04028, allocations: 138.6 kB / 322.2 MB, free: 1.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.04051, allocations: 374.7 kB / 322.6 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006463/0.04116, allocations: 309.9 kB / 322.9 MB, free: 348 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.166/0.2072, allocations: 432.1 kB / 323.3 MB, free: 33.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.2087, allocations: 0.735 MB / 324.1 MB, free: 33.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2087, allocations: 1.406 kB / 324.1 MB, free: 33.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002077/0.2108, allocations: 1.031 MB / 325.1 MB, free: 33.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.2108, allocations: 6 kB / 325.1 MB, free: 33.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2108, allocations: 4.109 kB / 325.1 MB, free: 33.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006129/0.2114, allocations: 182.5 kB / 325.3 MB, free: 33.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000841/0.2123, allocations: 186.4 kB / 325.5 MB, free: 33.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003327/0.2156, allocations: 2.685 MB / 328.2 MB, free: 31.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006025/0.2162, allocations: 38.64 kB / 328.2 MB, free: 31.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.2162, allocations: 32.27 kB / 328.2 MB, free: 31.09 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(5,11,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003433/0.2166, allocations: 223.9 kB / 328.4 MB, free: 30.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.2167, allocations: 67.73 kB / 328.5 MB, free: 30.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.2169, allocations: 84.02 kB / 328.6 MB, free: 30.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2169, allocations: 10.53 kB / 328.6 MB, free: 30.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/0.2169, allocations: 2.75 kB / 328.6 MB, free: 30.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.2169, allocations: 5.719 kB / 328.6 MB, free: 30.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007566/0.2177, allocations: 0.5799 MB / 329.2 MB, free: 30.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2177, allocations: 0 / 329.2 MB, free: 30.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007037/0.2184, allocations: 143.8 kB / 329.3 MB, free: 30.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005163/0.2189, allocations: 182 kB / 329.5 MB, free: 30.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/0.2189, allocations: 22.47 kB / 329.5 MB, free: 30.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/0.222, allocations: 2.702 MB / 332.2 MB, free: 28.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.222, allocations: 0 / 332.2 MB, free: 28.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/0.2244, allocations: 1.371 MB / 333.6 MB, free: 27.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-05/0.2245, allocations: 65.94 kB / 333.7 MB, free: 27.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/0.2246, allocations: 29.88 kB / 333.7 MB, free: 27.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005604/0.2252, allocations: 51.31 kB / 333.8 MB, free: 27.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.2253, allocations: 50.09 kB / 333.8 MB, free: 27.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.2254, allocations: 27.34 kB / 333.8 MB, free: 27.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003518/0.2257, allocations: 331.8 kB / 334.2 MB, free: 27.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2257, allocations: 4 kB / 334.2 MB, free: 27.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007559/0.2265, allocations: 225.8 kB / 334.4 MB, free: 27.55 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(5,11,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002117/0.2267, allocations: 125.7 kB / 334.5 MB, free: 27.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002106/0.2288, allocations: 0.9598 MB / 335.5 MB, free: 27.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2288, allocations: 1 kB / 335.5 MB, free: 27.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.2301, allocations: 0.6044 MB / 336.1 MB, free: 26.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005962/0.2307, allocations: 127.3 kB / 336.2 MB, free: 26.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.2331, allocations: 1.692 MB / 337.9 MB, free: 25.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.2335, allocations: 359.7 kB / 338.2 MB, free: 25.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002853/0.2338, allocations: 79.55 kB / 338.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.2339, allocations: 48.73 kB / 338.4 MB, free: 25.58 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2339, allocations: 192 / 338.4 MB, free: 25.58 MB / 302.1 MB Notification: Performance of Templates: time 0.01507/0.249, allocations: 10.2 MB / 348.6 MB, free: 19.1 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.757563941180706]