Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.001384/0.001384, allocations: 116.9 kB / 18.49 MB, free: 4.535 MB / 14.72 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.001575/0.001575, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 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.459/1.459, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 63.89 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1152, allocations: 53.38 MB / 427.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005074/0.1202, allocations: 3.247 MB / 430.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1225, allocations: 1.032 MB / 431.4 MB, free: 296 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003846/0.1229, allocations: 8 kB / 431.4 MB, free: 288 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.1231, allocations: 59.36 kB / 431.4 MB, free: 228 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005075/0.1236, allocations: 127 kB / 431.6 MB, free: 100 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2252/0.3488, allocations: 147.7 kB / 431.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009338/0.3498, allocations: 486.4 kB / 432.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.35, allocations: 96.17 kB / 432.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.3503, allocations: 201.3 kB / 432.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.3506, allocations: 206.8 kB / 432.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.57e-05/0.3506, allocations: 40.12 kB / 432.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.3508, allocations: 81.17 kB / 432.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.3509, allocations: 94.23 kB / 432.9 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.3511, allocations: 212.4 kB / 433.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004922/0.3516, allocations: 0.5056 MB / 433.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3516, allocations: 1.312 kB / 433.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3516, allocations: 0 / 433.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.3516, allocations: 0 / 433.6 MB, free: 7.445 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001177/0.3528, allocations: 0.742 MB / 434.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3528, allocations: 9.125 kB / 434.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.173e-05/0.3528, allocations: 14.62 kB / 434.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.828e-05/0.3529, allocations: 73.3 kB / 434.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.3531, allocations: 56.84 kB / 434.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.3535, allocations: 317 kB / 434.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.3535, allocations: 27.5 kB / 434.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/0.3536, allocations: 33.22 kB / 434.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005892/0.3541, allocations: 358.5 kB / 435.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3542, allocations: 0 / 435.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.3542, allocations: 15.69 kB / 435.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.3542, allocations: 8.594 kB / 435.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.3547, allocations: 236.4 kB / 435.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.3564, allocations: 1.17 MB / 436.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006353/0.3571, allocations: 262.9 kB / 436.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/0.3576, allocations: 201.7 kB / 437.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004838/0.3581, allocations: 1.111 MB / 438.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.3581, allocations: 38.58 kB / 438.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.483e-06/0.3581, allocations: 4 kB / 438.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001289/0.3594, allocations: 0.5293 MB / 438.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.3594, allocations: 80.55 kB / 438.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.3597, allocations: 340 kB / 439.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3598, allocations: 32.05 kB / 439.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3599, allocations: 221.9 kB / 439.4 MB, free: 4.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.298e-05/0.3599, allocations: 101.9 kB / 439.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.36, allocations: 70.77 kB / 439.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.3601, allocations: 354 kB / 439.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.3603, allocations: 103.2 kB / 440 MB, free: 3.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.3606, allocations: 180.9 kB / 440.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.3611, allocations: 295.4 kB / 440.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3611, allocations: 0 / 440.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007983/0.3619, allocations: 433.6 kB / 440.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3619, allocations: 4.719 kB / 440.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3619, allocations: 5.844 kB / 440.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002698/0.3621, allocations: 69 kB / 441 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.3625, allocations: 84.86 kB / 441.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.364, allocations: 1.947 MB / 443 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.3642, allocations: 42.58 kB / 443.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.3643, allocations: 15.78 kB / 443.1 MB, free: 1.324 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 36 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.3644, allocations: 156.8 kB / 443.2 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.3645, allocations: 37.88 kB / 443.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006807/0.3652, allocations: 324.5 kB / 443.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3652, allocations: 5.984 kB / 443.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.3652, allocations: 3.938 kB / 443.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3652, allocations: 2.766 kB / 443.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.3656, allocations: 399 kB / 444 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3656, allocations: 1.156 kB / 444 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/0.3659, allocations: 52.83 kB / 444 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/0.3661, allocations: 63.61 kB / 444.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.3661, allocations: 9.266 kB / 444.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002922/0.3664, allocations: 0.6131 MB / 444.7 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3664, allocations: 0.75 kB / 444.7 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.3675, allocations: 0.5264 MB / 445.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.3676, allocations: 117.2 kB / 445.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.3676, allocations: 6.25 kB / 445.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.3679, allocations: 21.33 kB / 445.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.368, allocations: 14.25 kB / 445.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.368, allocations: 12.05 kB / 445.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002706/0.3683, allocations: 237.5 kB / 445.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3683, allocations: 0 / 445.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.3687, allocations: 119.1 kB / 445.8 MB, free: 15.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (20): * Single equations (assignments): 19 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001381/0.3701, allocations: 1.077 MB / 446.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008897/0.371, allocations: 395.5 kB / 447.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.371, allocations: 3.938 kB / 447.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.3714, allocations: 139.2 kB / 447.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.3718, allocations: 43.39 kB / 447.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005689/0.3774, allocations: 3.756 MB / 451.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.3779, allocations: 0.7909 MB / 452 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.3781, allocations: 41.81 kB / 452 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.3783, allocations: 130.1 kB / 452.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3783, allocations: 0 / 452.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.4093, allocations: 7.879 MB / 460 MB, free: 9.266 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.94, allocations: 12.28 kB / 460 MB, free: 9.258 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.413002719986252] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.q_fp1', 'opAmp.q_fr1', 'opAmp.q_fr2', 'opAmp.q_fr3', 'opAmp.v_in', 'opAmp.v_source', 'opAmp.x'] 13.096017891017254 13.118640379 12.762510072 Calling exit ...